Skip to content

Commit fec084e

Browse files
author
Sam Kleinman
committed
incremental canges
1 parent 1260e53 commit fec084e

File tree

1 file changed

+36
-23
lines changed

1 file changed

+36
-23
lines changed

source/release-notes/2.2.txt

Lines changed: 36 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,48 @@ Release Notes for MongoDB Version 2.2
88
:backlinks: none
99
:local:
1010

11-
Upgrading
12-
---------
11+
MongoDB 2.0 is a standard, incremental production release and works as a drop-in replacement for MongoDB.
12+
13+
Before Upgrading
14+
----------------
1315

14-
Upgrade drivers if using authentication, before upgrading mongod
16+
If using authentificaton, upgrade drivers before upgrading mongod. See <appropriate topic>
1517

16-
Although the major version number has changed, MongoDB 2.0 is a standard,
17-
incremental production release and works as a drop-in replacement for MongoDB
18-
1.8. However, there are a few changes you must be aware of before attempting to
19-
upgrade:
18+
Read through these release notes for specific issues you might need to address before upgrading. For example, you might need to change database names, as described in ?????
2019

20+
Upgrading
21+
---------
22+
2123
2.0 processes can talk to 1.8 processes and vice versa, so you can upgrade
2224
various parts of a cluster in any order.
2325

24-
To upgrade a standalone server. Shutdown the old mongod and then restart with
25-
the new mongod binary. You can download the v2.0 binaries from the MongoDB
26-
Download Page.
27-
28-
To upgrade a replica set, in the most efficent way possible, while minimizing
29-
the amount of downtime, use the following procedure. Upgrade the secondaries
30-
first one at a time, then s tepDown the primary and upgrade the primary. Using
31-
the stepDown command is better than simply shutting it down since the failover
32-
will happen quicker. To avoid losing the last few updates on failover you can
33-
temporarily halt your application (failover should take less than 10 seconds)
34-
or change your application code to confirm that each update reaches multiple
35-
servers. Note, after upgrading to 2.0 you can use the shutdown command to
36-
shutdown the primary without losing any safe updates.
37-
38-
To upgrade a shard cluster, if using authentication, you *must* upgrade the
39-
``mongos`` first and then upgrade ``mongod``.
26+
Upgrading a Standalone Server
27+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28+
29+
#. Download the v2.0 binaries from the MongoDB Download Page.
30+
31+
#. Shutdown the old mongod and then restart with the new mongod binary.
32+
33+
Upgrading a Replica Set
34+
~~~~~~~~~~~~~~~~~~~~~~~
35+
36+
This procedure performs the upgrade in the most efficent way possible, while minimizing
37+
the amount of downtime.
38+
39+
#. Upgrade the secondaries one at a time.
40+
41+
#. StepDown the primary and upgrade the primary. Using the stepDown command is better than simply shutting it down since the failover will happen quicker.
42+
43+
Note, after upgrading to 2.0 you can use the shutdown command to shutdown the primary without losing any updates.
44+
45+
Upgrading a Shard Cluster
46+
~~~~~~~~~~~~~~~~~~~~~~~~~
47+
48+
If using authentificaton:
49+
50+
- Upgrade drivers before upgrading mongod. See ???
51+
52+
- If using authentication, you *must* upgrade the ``mongos`` first and then upgrade ``mongod``.
4053

4154
Changes
4255
-------

0 commit comments

Comments
 (0)