@@ -13,8 +13,8 @@ Release Notes for MongoDB 2.2
13
13
Upgrading
14
14
---------
15
15
16
- The MongoDB 2.2 series is the production release series of MongoDB
17
- series that succeeds the 2.0 series.
16
+ MongoDB 2.2 is a production release series and succeeds the 2.0
17
+ production release series.
18
18
19
19
MongoDB 2.0 data files are compatible with 2.2-series binaries without any
20
20
special migration process. However, always perform the upgrade process for replica
@@ -27,16 +27,19 @@ Synopsis
27
27
replacement.
28
28
29
29
- For all deployments using authentication, you *must* upgrade the
30
- drivers (i.e. client libraries,) before upgrading the
30
+ drivers (i.e. client libraries), before upgrading the
31
31
:program:`mongod` instance or instances.
32
32
33
- - You can upgrade the members of a replica set, one-by-one
33
+ .. To keep with what people are used to, we really should move the comma
34
+ outside the parens.
35
+
36
+ - You can upgrade the members of a replica set one-by-one
34
37
[#secondaries-first]_ **except** when using authentication. In
35
- deployments that use authentication, (i.e. where the
36
- :program:`mongod` runs with :option:`--keyFile <mongod --keyfile>`,)
38
+ deployments that use authentication (i.e. where the
39
+ :program:`mongod` runs with :option:`--keyFile <mongod --keyfile>`),
37
40
you must shut down the entire set and perform the upgrade at once.
38
41
39
- The 2.2.1 release will remove this requirement, see
42
+ The 2.2.1 release will remove this requirement. See
40
43
:issue:`SERVER-6897` for more information.
41
44
42
45
- For all upgrades of sharded clusters, turn off the balancer during
@@ -50,11 +53,11 @@ Synopsis
50
53
51
54
- Second, upgrade all :program:`mongos` instances.
52
55
53
- - Finally , upgrade all :program:`mongod` instances.
56
+ - Last , upgrade all :program:`mongod` instances.
54
57
55
58
Other than the above restrictions, 2.2 processes can interoperate with
56
- 2.0 and 1.8 tools and processes. You can safely upgrade a the
57
- :program:`mongod` and :program:`mongos` components of a deployment,
59
+ 2.0 and 1.8 tools and processes. You can safely upgrade the
60
+ :program:`mongod` and :program:`mongos` components of a deployment
58
61
one by one while the deployment is otherwise operational. Be sure to
59
62
read the detailed upgrade procedures below before upgrading production
60
63
systems.
@@ -82,24 +85,25 @@ Upgrading a Replica Set
82
85
~~~~~~~~~~~~~~~~~~~~~~~
83
86
84
87
For replica sets running with authentication, (i.e. :option:`--keyFile
85
- <mongod --keyFile>`,) upgrade the entire set from a release of 2.0 to
86
- 2.2.0 at once. Shut down all :program:`mongod` instances in the set
88
+ <mongod --keyFile>`), upgrade the entire set to
89
+ 2.2 at once. Shut down all :program:`mongod` instances in the set
87
90
cleanly, upgrade the binaries, and then restart all instances.
88
91
89
92
The 2.2.1 release, will remove this "hard" upgrade requirement, see
90
93
:issue:`SERVER-6897`.
91
94
92
- If your set does not run with authentication may perform a "rolling"
95
+ If your set does not run with authentication, then to minimize downtime you may perform a "rolling"
93
96
upgrade of the set by upgrading the members individually while the
94
- other members are available to minimize downtime . Use the following
97
+ other members are available. Use the following
95
98
procedure:
96
99
97
100
#. Upgrade the :term:`secondary` members of the set one at a time by
98
101
shutting down the :program:`mongod` and replacing the 2.0 binary
99
102
with the 2.2 binary. After upgrading a :program:`mongod` instance,
100
- wait for the member to recover to ``SECONDARY`` state by checking
101
- the output of :method:`rs.status()` in the :program:`mongo` shell
103
+ wait for the member to recover to ``SECONDARY`` state
102
104
before upgrading the next instance.
105
+ To check the member's state, issue :method:`rs.status()` in the
106
+ :program:`mongo` shell.
103
107
104
108
#. Use the :program:`mongo` shell method :method:`rs.stepDown()` to
105
109
step down the :term:`primary` to allow the normal :ref:`failover
@@ -113,9 +117,9 @@ procedure:
113
117
:program:`mongod` binary with the 2.2 binary and start the new
114
118
process.
115
119
116
- .. note:: Replica set failover is not instantaneous, but will
117
- render the set unavailable to read and writes sent to the set
118
- util failover process completes. Typically this takes tens of
120
+ .. note:: Replica set failover is not instantaneous but will
121
+ render the set unavailable to read or accept writes
122
+ until the failover process completes. Typically this takes tens of
119
123
seconds, so you may wish to plan the upgrade during a
120
124
non-critical time of day.
121
125
@@ -144,7 +148,7 @@ Use the following procedure to upgrade a sharded cluster:
144
148
145
149
Balancing is not currently supported in *mixed* 2.0.x and 2.2.0
146
150
deployments. Thus you will want to reach a consistent version for all
147
- shards within a reasonable period of time, e.g., same-day.
151
+ shards within a reasonable period of time, e.g. same-day.
148
152
See :issue:`SERVER-6902` for more information.
149
153
150
154
Changes
0 commit comments