You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/release-notes/2.2.txt
+36-23Lines changed: 36 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -8,35 +8,48 @@ Release Notes for MongoDB Version 2.2
8
8
:backlinks: none
9
9
:local:
10
10
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
+
----------------
13
15
14
-
Upgrade drivers if using authentication, before upgrading mongod
16
+
If using authentificaton, upgrade drivers before upgrading mongod. See <appropriate topic>
15
17
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 ?????
20
19
20
+
Upgrading
21
+
---------
22
+
21
23
2.0 processes can talk to 1.8 processes and vice versa, so you can upgrade
22
24
various parts of a cluster in any order.
23
25
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``.
0 commit comments