Skip to content

Commit 1900b26

Browse files
author
Sam Kleinman
committed
DOCS-290 merge/edit release notice changes
2 parents 6421f8a + 5e6b5a4 commit 1900b26

File tree

1 file changed

+54
-53
lines changed

1 file changed

+54
-53
lines changed

source/release-notes/2.2.txt

Lines changed: 54 additions & 53 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,50 +124,50 @@ 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+
MongoDB 2.2 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.
152153

153154
Improved Data Center Awareness with Tag Aware Sharding
154155
``````````````````````````````````````````````````````
155156

156-
In 2.2, MongoDB adds additional support for geographic distribution or
157+
MongoDB 2.2 adds additional support for geographic distribution or
157158
other custom partitioning in shard clusters. By using this "tag
158159
aware" sharding, you can automatically ensure that data in a
159160
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+
MongoDB 2.2 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,8 +354,9 @@ 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-
the documentation of the following options for additional information:
357+
:issue:`SERVER-3871` for more information regarding this change. Also
358+
consider the documentation of the following options for additional
359+
information:
358360

359361
- :option:`mongotop --username`
360362
- :option:`mongotop --password`
@@ -366,8 +368,8 @@ Write Concern Support for ``mongoimport`` and ``mongorestore``
366368

367369
With the :option:`--stopOnError <mongoimport --stopOnError>`,
368370
: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
371+
<write-concern>`. Now if the import process encounters an error (e.g. network,
372+
write error, etc), :program:`mongoimport` will
371373
produce an error rather than silently continue importing data. See
372374
:issue:`SERVER-3937` for more information.
373375

@@ -394,11 +396,11 @@ information.
394396
````````````````````````````````````
395397

396398
MongoDB extended JSON now includes a new ``Timestamp()`` type to
397-
represent the Timestamp type used as timestamps in the oplog and in
398-
other contexts.
399+
represent the Timestamp type that MongoDB uses for timestamps in the
400+
oplog among other contexts.
399401

400402
This permits tools like :program:`mongooplog` and :program:`mongodump`
401-
to be able to query for specific timestamps. Consider the following
403+
to query for specific timestamps. Consider the following
402404
:program:`mongodump` operation:
403405

404406
.. code-block:: sh
@@ -424,7 +426,7 @@ consistency of the user interface for the :program:`mongo` shell:
424426
- Multi-line command support in shell history.
425427
See :issue:`SERVER-3470` for more information.
426428

427-
- Windows support for ``edit`` command. See :issue:`SERVER-3998` for
429+
- Windows support for the ``edit`` command. See :issue:`SERVER-3998` for
428430
more information.
429431

430432
Helper to load Server-Side Functions
@@ -481,16 +483,15 @@ The Boost library, version 1.49, is now embeded in the MongoDB
481483
code base.
482484

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

486488
.. code-block:: sh
487489

488490
scons --use-system-boost
489491

490-
There is also a flag in ``scons`` if you want to build MongoDB using
491-
all system libraries rather than the included versions of the
492-
libraries, if desired. To build MongoDB with system libraries for all
493-
libraries, use the following arguments to ``scons``:
492+
When building MongoDB, you can also pass ``scons`` a flag to compile
493+
MongoDB using only system libraries rather than the included versions
494+
of the libraries. For example:
494495

495496
.. code-block:: sh
496497

@@ -524,7 +525,7 @@ identify what process may produce errors or halt replication. See
524525
Replica Set Members can Sync from Specific Members
525526
``````````````````````````````````````````````````
526527

527-
The new :dbcommand:`replSetSyncFrom` command, and
528+
The new :dbcommand:`replSetSyncFrom` command and new
528529
:method:`rs.syncFrom()` helper in the :program:`mongo` shell make it
529530
possible for you to manually configure from which member of the set a
530531
replica will poll :term:`oplog` entries. Use these commands to
@@ -539,7 +540,7 @@ To prevent inconsistency between members of replica sets, if the
539540
member of a replica set has :data:`members[n].buildIndexes` set to
540541
``true``, other members of the replica set will *not* sync from this
541542
member, unless they also have :data:`members[n].buildIndexes` set to
542-
true. See :issue:`SERVER-4160` for more information.
543+
``true``. See :issue:`SERVER-4160` for more information.
543544

544545
New Option To Configure Index Pre-Fetching during Replication
545546
`````````````````````````````````````````````````````````````
@@ -548,7 +549,7 @@ By default, when replicating options, :term:`secondaries <secondary>`
548549
will pre-fetch :ref:`indexes` associated with a query to improve replication
549550
throughput in most cases. The :setting:`replIndexPrefetch` setting and
550551
:option:`--replIndexPrefetch <mongod --replIndexPrefetch>` option allow administrators to disable
551-
this feature or allow the :program:`mongod` to only pre-fetch the
552+
this feature or allow the :program:`mongod` to pre-fetch only the
552553
index on the ``_id`` field. See :issue:`SERVER-6718` for more information.
553554

554555
Map Reduce Improvements
@@ -565,7 +566,7 @@ Sharding Improvements
565566
Index on Shard Keys Can Now Be a Compound Index
566567
```````````````````````````````````````````````
567568

568-
If your shard key the prefix of an existing index, then you do not
569+
If your shard key uses the prefix of an existing index, then you do not
569570
need to maintain a separate index for your shard key in addition to
570571
your existing index. This index, however, cannot be a multi-key
571572
index. See the ":ref:`sharding-shard-key-indexes`" documentation and
@@ -576,7 +577,7 @@ Migration Thresholds Modified
576577

577578
The :ref:`migration thresholds <sharding-migration-thresholds>` have
578579
changed in 2.2 to permit more even distribution of :term:`chunks
579-
<chunk>` in collections with smaller quantities of data. See the
580+
<chunk>` in collections that have smaller quantities of data. See the
580581
:ref:`sharding-migration-thresholds` documentation for more
581582
information.
582583

0 commit comments

Comments
 (0)