@@ -71,6 +71,8 @@ downtime, use the following procedure:
71
71
upgrade by replacing the :program:`mongod` binary with the 2.2
72
72
binary.
73
73
74
+ .. _2.2-upgrade-shard-cluster:
75
+
74
76
Upgrading a Shard Cluster
75
77
~~~~~~~~~~~~~~~~~~~~~~~~~
76
78
@@ -105,32 +107,50 @@ Major Features
105
107
Aggregation Framework
106
108
`````````````````````
107
109
108
- Documentation: :doc:`/applications/aggregation`
110
+ The aggregation framework makes it possible to do aggregation
111
+ operations without needing to use :term:`map-reduce`. The
112
+ :dbcommand:`aggregate` exposes the aggregation framework, and the
113
+ :func:`db.collection.aggregate()` helper in the :program:`mongo` shell
114
+ provides an interface to these operations. Consider the following
115
+ resources for background on the aggregation framework and its use:
116
+
117
+ - Documentation: :doc:`/applications/aggregation`
109
118
110
- Reference: :doc:`/reference/aggregation`
119
+ - Reference: :doc:`/reference/aggregation`
111
120
112
- Examples: :doc:`/tutorial/aggregation-examples`
121
+ - Examples: :doc:`/tutorial/aggregation-examples`
113
122
114
123
TTL Collections
115
124
```````````````
116
125
117
- Documentation: :doc:`/tutorial/expire-data`
126
+ TTL collections remove stale data from a collection, using a special
127
+ index and a background thread that deletes expired documents every
128
+ minute. These collections are useful as an alternative to
129
+ :term:`capped collections <capped collection>` in some cases, for data
130
+ warehousing and caching cases including: machine generated event data,
131
+ logs, and session information that only need to persist in a database
132
+ for a limited period of time.
133
+
134
+ For more information, see the :doc:`/tutorial/expire-data` tutorial.
118
135
119
136
Concurrency Improvements
120
137
````````````````````````
121
138
122
- Issues:
139
+ In 2.2 MongoDB increases the database's capability for concurrent
140
+ operations using with two key improvements:
123
141
124
- - :issue:`DB Level Locking <SERVER-4328>`
125
- - :issue:`Improved Yielding on Page Faults <SERVER-3357>`
142
+ #. :issue:`DB Level Locking <SERVER-4328>`
143
+ #. :issue:`Improved Yielding on Page Faults <SERVER-3357>`
126
144
127
- .. TODO mention server stats reporting here. currentOp, serverStatus, profile.
145
+ To reflect these changes, MognODB now provides changed and improved
146
+ reporting for concurrency and use, see the :ref:`locks` and
147
+ :ref:`server-status-record-stats` in :doc:`server status
148
+ </reference/server-status>` and in the output of
149
+ :func:`db.currentOp()` as well as :doc:`mongotop
150
+ </reference/mongotop>` and :doc:`mongostat </reference/mongostat>` and
151
+ in .
128
152
129
- Documentation: Updated reporting on :ref:`locks` in :doc:`server
130
- status </reference/server-status>` as well as :doc:`mongotop
131
- </reference/mongotop>` and :doc:`mongostat </reference/mongostat>`.
132
-
133
- .. TODO add links to current op when it happens.
153
+ .. TODO add links to current op output documentation when it happens.
134
154
135
155
Tag Aware Sharding
136
156
``````````````````
@@ -142,20 +162,44 @@ Tag Aware Sharding
142
162
Fully Supported Read Preference Semantics
143
163
`````````````````````````````````````````
144
164
145
- .. TODO write blurb mentioning mongos.
146
-
147
- mongos and all major drivers support full read preference as
148
- specified:
165
+ All MongoDB clients and drivers now support full :ref:`read
166
+ preferences <replica-set-read-preference>` including consistent
167
+ support for a full range of :ref:`read preference modes
168
+ <replica-set-read-preference-modes>` and :ref:`tag sets
169
+ <replica-set-read-preference-tag-sets>`. This support extends to the
170
+ :program:`mongos` and applies similarly to both single replica sets,
171
+ and replica sets that provide components of a shard cluster.
149
172
150
- :ref:`replica-set-read-preference`
173
+ Additional read preference support now exists in the :program:`mongo`
174
+ shell using the :func:`reaPref() <cursor.readPref()>` cursor method.
151
175
152
176
.. including tagging
153
177
154
178
Compatibility Changes
155
179
~~~~~~~~~~~~~~~~~~~~~
156
180
157
- .. TODO add sections here to describe compatibility changes with
158
- regards to authentication, drivers, and mongos'
181
+ Authentication Changes
182
+ ``````````````````````
183
+
184
+ In order to provide more reliable and robust support for
185
+ authentication clients, including drivers and :program:`mongos`
186
+ instances.
187
+
188
+ If your :program:`mongod` instances or cluster is running with
189
+ authentication:
190
+
191
+ - In sharded environments, 2.0 version :program:`mongos` instances are
192
+ **not** compatible with 2.2 shard clusters running with
193
+ authentication. Use the :ref:`upgrade procedure for shard clusters
194
+ <2.2-upgrade-shard-cluster>` and upgrade all :program:`mongos`
195
+ instances to prevent operational difficulty.
196
+
197
+ - For all drivers, use the latest release of your driver and check
198
+ its release notes.
199
+
200
+ Drivers and :program:`mongos` instances that connect to
201
+ :program:`mongod` instances that do *not* have authentication enabled
202
+ are not affected by this issue.
159
203
160
204
.. _2.2-findandmodify-returns-null:
161
205
@@ -316,9 +360,6 @@ Support for logging to Syslog
316
360
317
361
:issue:`SERVER-2957`
318
362
319
- Improved Authentication Support
320
- ```````````````````````````````
321
-
322
363
``touch`` Command
323
364
`````````````````
324
365
@@ -408,16 +449,21 @@ code base.
408
449
409
450
.. TODO help the verbs
410
451
411
- Additionally, added a flag to ``scons`` so that the build process can
412
- use system libraries, if desired. To build MongoDB with system
413
- libraries for all libraries, use the following arguments to ``scons``:
452
+ If you want to build MongoDB binaries using system Boost libraries,
453
+ you can pass ``scons`` the ``--use-system-boost`` flag, as follows:
414
454
415
455
.. code-block:: sh
416
456
417
- scons --use-system-all
457
+ scons --use-system-boost
418
458
419
- You can use the ``--use-system-boost`` to only use the system Boost
420
- library.
459
+ There is also a flag in ``scons`` if you want to build MongoDB using
460
+ all system libraries rather than the included versions of the
461
+ libraries, if desired. To build MongoDB with system libraries for all
462
+ libraries, use the following arguments to ``scons``:
463
+
464
+ .. code-block:: sh
465
+
466
+ scons --use-system-all
421
467
422
468
See the :issue:`SERVER-3829` and :issue:`SERVER-5172` issues for more
423
469
information.
0 commit comments