Skip to content

Commit 5e6b5a4

Browse files
author
Bob Grabar
committed
edits to 2.2 release notes
1 parent e64de1d commit 5e6b5a4

File tree

1 file changed

+49
-48
lines changed

1 file changed

+49
-48
lines changed

source/release-notes/2.2.txt

Lines changed: 49 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ version.
2727
Read through all release notes before upgrading, and ensure that no
2828
changes will affect your deployment.
2929

30+
If you are not running with
31+
authentication,
3032
2.2 processes can inter-operate with 2.0 and 1.8 tools and processes
31-
in replica sets and shard clusters, if you are not running with
32-
authentication. As a result, you can safely upgrade the
33+
in replica sets and shard clusters. As a result, you can safely upgrade the
3334
:program:`mongod` and :program:`mongos` components of your deployment
3435
in any order.
3536

@@ -40,7 +41,7 @@ Upgrading a Standalone ``mongod``
4041

4142
#. Download the v2.2 binaries from the `MongoDB Download Page`_.
4243

43-
#. Shutdown your :program:`mongod` instance, replace the existing
44+
#. Shutdown your :program:`mongod` instance. Replace the existing
4445
binary with the 2.2 :program:`mongod` binary and restart MongoDB.
4546

4647
.. _`MongoDB Download Page`: http://downloads.mongodb.org/
@@ -58,13 +59,13 @@ downtime, use the following procedure:
5859
the 2.2 binary.
5960

6061
#. Use the :method:`rs.stepDown()` to step down the primary to allow
61-
normal :ref:`failover <replica-set-failover>` procedure.
62+
the normal :ref:`failover <replica-set-failover>` procedure.
6263

6364
:method:`rs.stepDown()` and :dbcommand:`replSetStepDown` provide for
6465
shorter and more consistent failover procedures than simply
6566
shutting down the primary directly.
6667

67-
When the primary has stepped down, shut the instance down and
68+
When the primary has stepped down, shut down its instance and
6869
upgrade by replacing the :program:`mongod` binary with the 2.2
6970
binary.
7071

@@ -79,7 +80,7 @@ procedure:
7980
- Upgrade all :program:`mongos` instances *first*, in any order.
8081

8182
- Upgrade all of the :program:`mongod` config server instances *one at
82-
a time*. When you have *less* than *three* config servers active,
83+
a time*. When you have *fewer* than *three* config servers active,
8384
the cluster metadata will be read-only which will prevent (and abort)
8485
all chunk migrations and chunk splits.
8586

@@ -123,29 +124,29 @@ TTL Collections
123124
TTL collections remove expired data from a collection, using a special
124125
index and a background thread that deletes expired documents every
125126
minute. These collections are useful as an alternative to
126-
:term:`capped collections <capped collection>` in some cases, for data
127-
warehousing and caching cases including: machine generated event data,
128-
logs, and session information that only need to persist in a database
129-
for a limited period of time.
127+
:term:`capped collections <capped collection>` in some cases, such as for data
128+
warehousing and caching cases, including: machine generated event data,
129+
logs, and session information that needs to persist in a database
130+
for only a limited period of time.
130131

131132
For more information, see the :doc:`/tutorial/expire-data` tutorial.
132133

133134
Concurrency Improvements
134135
````````````````````````
135136

136-
In 2.2 MongoDB increases the server's capacity for concurrent
137+
In 2.2, MongoDB increases the server's capacity for concurrent
137138
operations with the following improvements:
138139

139140
#. :issue:`DB Level Locking <SERVER-4328>`
140141
#. :issue:`Improved Yielding on Page Faults <SERVER-3357>`
141142
#. :issue:`Improved Page Fault Detection on Windows <SERVER-4538>`
142143

143144
To reflect these changes, MongoDB now provides changed and improved
144-
reporting for concurrency and use, see the :ref:`locks` and
145+
reporting for concurrency and use, see :ref:`locks` and
145146
:ref:`server-status-record-stats` in :doc:`server status
146-
</reference/server-status>` and in the :doc:`current operation output
147-
</reference/current-op>` (:method:`db.currentOp()`) as well as
148-
:doc:`mongotop </reference/mongotop>` and :doc:`mongostat
147+
</reference/server-status>` and see :doc:`current operation output
148+
</reference/current-op>`, :method:`db.currentOp()`,
149+
:doc:`mongotop </reference/mongotop>`, and :doc:`mongostat
149150
</reference/mongostat>`.
150151

151152
.. TODO add links to current op output documentation when it happens.
@@ -160,13 +161,13 @@ sharded database system is always closest to the application servers
160161
that use that data most frequently.
161162

162163
Shard tagging controls data location, and is complementary but
163-
separate from replica set tagging which controls data access. For
164+
separate from replica set tagging, which controls data access. For
164165
example, shard tagging can pin all "USA" data to one or more logical
165166
shards, while replica set tagging can control which :program:`mongod`
166167
instances (e.g. "``production``" or "``reporting``") the application
167168
uses to service requests.
168169

169-
See the documentation of the following helpers in the :program:`mongo`
170+
See the documentation for the following helpers in the :program:`mongo`
170171
shell that support tagged sharding configuration:
171172

172173
- :method:`sh.addShardTag()`
@@ -180,12 +181,12 @@ Fully Supported Read Preference Semantics
180181
`````````````````````````````````````````
181182

182183
All MongoDB clients and drivers now support full :ref:`read
183-
preferences <replica-set-read-preference>` including consistent
184+
preferences <replica-set-read-preference>`, including consistent
184185
support for a full range of :ref:`read preference modes
185186
<replica-set-read-preference-modes>` and :ref:`tag sets
186187
<replica-set-read-preference-tag-sets>`. This support extends to the
187-
:program:`mongos` and applies identically to single replica sets, and
188-
the replica sets for each shard in a :term:`shard cluster`.
188+
:program:`mongos` and applies identically to single replica sets and
189+
to the replica sets for each shard in a :term:`shard cluster`.
189190

190191
Additional read preference support now exists in the :program:`mongo`
191192
shell using the :method:`reaPref() <cursor.readPref()>` cursor method.
@@ -198,7 +199,7 @@ Compatibility Changes
198199
Authentication Changes
199200
``````````````````````
200201

201-
In order to provide more reliable and robust support for
202+
In 2.2, MongoDB provides more reliable and robust support for
202203
authentication clients, including drivers and :program:`mongos`
203204
instances.
204205

@@ -209,10 +210,10 @@ authentication:
209210
**not** compatible with 2.2 shard clusters running with
210211
authentication.
211212

212-
You **must** use the :ref:`upgrade procedure for shard clusters
213+
To prevent rendering your cluster non-operational,
214+
you **must** use the :ref:`upgrade procedure for shard clusters
213215
<2.2-upgrade-shard-cluster>` and upgrade all :program:`mongos`
214-
instances *before* upgrading the shard to prevent rendering your
215-
cluster non-operational.
216+
instances *before* upgrading the shard.
216217

217218
- For all drivers, use the latest release of your driver and check
218219
its release notes.
@@ -254,8 +255,8 @@ characters:
254255

255256
/\. "*<>:|?
256257

257-
The names of the data files include the database name. If you attempt
258-
upgrade a database instance with one or more of these characters,
258+
The names of the data files include the database name. If you attempt
259+
to upgrade a database instance with one or more of these characters,
259260
:program:`mongod` will refuse to start.
260261

261262
Change the name of these databases before upgrading. See
@@ -267,9 +268,9 @@ Change the name of these databases before upgrading. See
267268
````````````````````````````````````````````````
268269

269270
All :term:`capped collections <capped collection>` now have an ``_id``
270-
field by default *if* they exist outside of the ``local`` database,
271-
and indexes on the ``_id`` field. This change only affects capped
272-
collections created with 2.2 instances and does not impact existing
271+
field by default, *if* they exist outside of the ``local`` database,
272+
and now have indexes on the ``_id`` field. This change only affects capped
273+
collections created with 2.2 instances and does not affect existing
273274
capped collections.
274275

275276
See: :issue:`SERVER-5516` for more information.
@@ -313,8 +314,8 @@ New Build Using SlimReadWrite Locks for Windows Concurrency
313314
```````````````````````````````````````````````````````````
314315

315316
Labeled "2008+" on the `Downloads Page`_, this build for 64-bit
316-
versions of Windows Server 2008 R2, Windows 7 or newer, offers
317-
increased performance for over the standard 64 bit Windows build of
317+
versions of Windows Server 2008 R2 and for Windows 7 or newer offers
318+
increased performance over the standard 64-bit Windows build of
318319
MongoDB. See :issue:`SERVER-3844` for more information.
319320

320321
.. _`Downloads Page`: http://www.mongodb.org/downloads
@@ -326,14 +327,14 @@ Index Definitions Handled by ``mongodump`` and ``mongorestore``
326327
```````````````````````````````````````````````````````````````
327328

328329
When you specify the :option:`--collection <mongodump --collection>`
329-
option to :program:`mongodump`, :program:`mongodump` will now backup
330+
option to :program:`mongodump`, :program:`mongodump` will now backup
330331
the definitions for all indexes that exist on the source
331-
database. When you attempt to restore this backup with the
332+
database. When you attempt to restore this backup with
332333
:program:`mongorestore`, the target :program:`mongod` will rebuild all
333334
indexes. See :issue:`SERVER-808` for more information.
334335

335336
:program:`mongorestore` now includes the :option:`--noIndexRestore
336-
<mongorestore --noIndexRestore>` option to provide the previous
337+
<mongorestore --noIndexRestore>` option to provide the preceding
337338
behavior. Use :option:`--noIndexRestore <mongorestore --noIndexRestore>`
338339
to prevent :program:`mongorestore` from building
339340
previous indexes.
@@ -353,7 +354,7 @@ Authentication Support for ``mongotop`` and ``mongostat``
353354

354355
:program:`mongotop` and :program:`mongostat` now contain support for
355356
username/password authentication. See :issue:`SERVER-3875` and
356-
:issue:`SERVER-3871` for more information regarding this change and
357+
:issue:`SERVER-3871` for more information regarding this change. See also
357358
the documentation of the following options for additional information:
358359

359360
- :option:`mongotop --username`
@@ -366,8 +367,8 @@ Write Concern Support for ``mongoimport`` and ``mongorestore``
366367

367368
With the :option:`--stopOnError <mongoimport --stopOnError>`,
368369
:program:`mongoimport` provides support for :ref:`write concern
369-
<write-concern>`. Now if there is any kind of error (e.g. network,
370-
write error, etc)in the import process, :program:`mongoimport` will
370+
<write-concern>`. Now if the import process encounters an error (e.g. network,
371+
write error, etc), :program:`mongoimport` will
371372
produce an error rather than silently continue importing data. See
372373
:issue:`SERVER-3937` for more information.
373374

@@ -394,11 +395,11 @@ information.
394395
````````````````````````````````````
395396

396397
MongoDB extended JSON now includes a new ``Timestamp()`` type to
397-
represent the Timestamp type used as timestamps in the oplog and in
398+
represent the Timestamp type, which is used for timestamps in the oplog and also used in
398399
other contexts.
399400

400401
This permits tools like :program:`mongooplog` and :program:`mongodump`
401-
to be able to query for specific timestamps. Consider the following
402+
to query for specific timestamps. Consider the following
402403
:program:`mongodump` operation:
403404

404405
.. code-block:: sh
@@ -424,7 +425,7 @@ consistency of the user interface for the :program:`mongo` shell:
424425
- Multi-line command support in shell history.
425426
See :issue:`SERVER-3470` for more information.
426427

427-
- Windows support for ``edit`` command. See :issue:`SERVER-3998` for
428+
- Windows support for the ``edit`` command. See :issue:`SERVER-3998` for
428429
more information.
429430

430431
Helper to load Server-Side Functions
@@ -481,15 +482,15 @@ The Boost library, version 1.49, is now embeded in the MongoDB
481482
code base.
482483

483484
If you want to build MongoDB binaries using system Boost libraries,
484-
you can pass ``scons`` the ``--use-system-boost`` flag, as follows:
485+
you can pass ``scons`` using the ``--use-system-boost`` flag, as follows:
485486

486487
.. code-block:: sh
487488

488489
scons --use-system-boost
489490

490-
There is also a flag in ``scons`` if you want to build MongoDB using
491+
``scons`` also has a flag to build MongoDB using
491492
all system libraries rather than the included versions of the
492-
libraries, if desired. To build MongoDB with system libraries for all
493+
libraries. To build MongoDB with system libraries for all
493494
libraries, use the following arguments to ``scons``:
494495

495496
.. code-block:: sh
@@ -514,7 +515,7 @@ identify what process may produce errors or halt replication. See
514515
Replica Set Members can Sync from Specific Members
515516
``````````````````````````````````````````````````
516517

517-
The new :dbcommand:`replSetSyncFrom` command, and
518+
The new :dbcommand:`replSetSyncFrom` command and new
518519
:method:`rs.syncFrom()` helper in the :program:`mongo` shell make it
519520
possible for you to manually configure from which member of the set a
520521
replica will poll :term:`oplog` entries. Use these commands to
@@ -529,7 +530,7 @@ To prevent inconsistency between members of replica sets, if the
529530
member of a replica set has :data:`members[n].buildIndexes` set to
530531
``true``, other members of the replica set will *not* sync from this
531532
member, unless they also have :data:`members[n].buildIndexes` set to
532-
true. See :issue:`SERVER-4160` for more information.
533+
``true``. See :issue:`SERVER-4160` for more information.
533534

534535
New Option To Configure Index Pre-Fetching during Replication
535536
`````````````````````````````````````````````````````````````
@@ -538,7 +539,7 @@ By default, when replicating options, :term:`secondaries <secondary>`
538539
will pre-fetch :ref:`indexes` associated with a query to improve replication
539540
throughput in most cases. The :setting:`replIndexPrefetch` setting and
540541
:option:`--replIndexPrefectch <mongod --replIndexPrefetch>` option allow administrators to disable
541-
this feature or allow the :program:`mongod` to only pre-fetch the
542+
this feature or allow the :program:`mongod` to pre-fetch only the
542543
index on the ``_id`` field. See :issue:`SERVER-6718` for more information.
543544

544545
Map Reduce Improvements
@@ -555,7 +556,7 @@ Sharding Improvements
555556
Index on Shard Keys Can Now Be a Compound Index
556557
```````````````````````````````````````````````
557558

558-
If your shard key the prefix of an existing index, then you do not
559+
If your shard key uses the prefix of an existing index, then you do not
559560
need to maintain a separate index for your shard key in addition to
560561
your existing index. This index, however, cannot be a multi-key
561562
index. See the ":ref:`sharding-shard-key-indexes`" documentation and
@@ -566,7 +567,7 @@ Migration Thresholds Modified
566567

567568
The :ref:`migration thresholds <sharding-migration-thresholds>` have
568569
changed in 2.2 to permit more even distribution of :term:`chunks
569-
<chunk>` in collections with smaller quantities of data. See the
570+
<chunk>` in collections that have smaller quantities of data. See the
570571
:ref:`sharding-migration-thresholds` documentation for more
571572
information.
572573

0 commit comments

Comments
 (0)