Skip to content

Commit ea9b7e1

Browse files
author
Sam Kleinman
committed
merge: release notes
2 parents 6ebd2d7 + f86d119 commit ea9b7e1

File tree

1 file changed

+76
-28
lines changed

1 file changed

+76
-28
lines changed

source/release-notes/2.2.txt

Lines changed: 76 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ downtime, use the following procedure:
7171
upgrade by replacing the :program:`mongod` binary with the 2.2
7272
binary.
7373

74+
.. _2.2-upgrade-shard-cluster:
75+
7476
Upgrading a Shard Cluster
7577
~~~~~~~~~~~~~~~~~~~~~~~~~
7678

@@ -105,32 +107,49 @@ Major Features
105107
Aggregation Framework
106108
`````````````````````
107109

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`
109118

110-
Reference: :doc:`/reference/aggregation`
119+
- Reference: :doc:`/reference/aggregation`
111120

112-
Examples: :doc:`/tutorial/aggregation-examples`
121+
- Examples: :doc:`/tutorial/aggregation-examples`
113122

114123
TTL Collections
115124
```````````````
116125

117-
Documentation: :doc:`/tutorial/expire-data`
126+
TTL collections remove expired 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.
118135

119136
Concurrency Improvements
120137
````````````````````````
121138

122-
Issues:
139+
In 2.2 MongoDB increases the server's capacity for concurrent
140+
operations with two key improvements:
123141

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>`
126144

127-
.. TODO mention server stats reporting here. currentOp, serverStatus, profile.
128-
129-
Documentation: Updated reporting on :ref:`locks` in :doc:`server
130-
status </reference/server-status>` as well as :doc:`mongotop
145+
To reflect these changes, MongoDB 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
131150
</reference/mongotop>` and :doc:`mongostat </reference/mongostat>`.
132151

133-
.. TODO add links to current op when it happens.
152+
.. TODO add links to current op output documentation when it happens.
134153

135154
Tag Aware Sharding
136155
``````````````````
@@ -142,20 +161,47 @@ Tag Aware Sharding
142161
Fully Supported Read Preference Semantics
143162
`````````````````````````````````````````
144163

145-
.. TODO write blurb mentioning mongos.
146-
147-
mongos and all major drivers support full read preference as
148-
specified:
164+
All MongoDB clients and drivers now support full :ref:`read
165+
preferences <replica-set-read-preference>` including consistent
166+
support for a full range of :ref:`read preference modes
167+
<replica-set-read-preference-modes>` and :ref:`tag sets
168+
<replica-set-read-preference-tag-sets>`. This support extends to the
169+
:program:`mongos` and applies identically to single replica sets, and
170+
the replica sets for each shard in a :term:`shard cluster`.
149171

150-
:ref:`replica-set-read-preference`
172+
Additional read preference support now exists in the :program:`mongo`
173+
shell using the :func:`reaPref() <cursor.readPref()>` cursor method.
151174

152175
.. including tagging
153176

154177
Compatibility Changes
155178
~~~~~~~~~~~~~~~~~~~~~
156179

157-
.. TODO add sections here to describe compatibility changes with
158-
regards to authentication, drivers, and mongos'
180+
Authentication Changes
181+
``````````````````````
182+
183+
In order to provide more reliable and robust support for
184+
authentication clients, including drivers and :program:`mongos`
185+
instances.
186+
187+
If your :program:`mongod` instances or cluster runs with
188+
authentication:
189+
190+
- In sharded environments, 2.0 version :program:`mongos` instances are
191+
**not** compatible with 2.2 shard clusters running with
192+
authentication.
193+
194+
You **must** use the :ref:`upgrade procedure for shard clusters
195+
<2.2-upgrade-shard-cluster>` and upgrade all :program:`mongos`
196+
instances *before* upgrading the shard to prevent rendering your
197+
cluster non-operational.
198+
199+
- For all drivers, use the latest release of your driver and check
200+
its release notes.
201+
202+
Drivers and :program:`mongos` instances that connect to
203+
:program:`mongod` instances that do *not* have authentication enabled
204+
are not affected by this issue.
159205

160206
.. _2.2-findandmodify-returns-null:
161207

@@ -316,9 +362,6 @@ Support for logging to Syslog
316362

317363
:issue:`SERVER-2957`
318364

319-
Improved Authentication Support
320-
```````````````````````````````
321-
322365
``touch`` Command
323366
`````````````````
324367

@@ -408,16 +451,21 @@ code base.
408451

409452
.. TODO help the verbs
410453

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``:
454+
If you want to build MongoDB binaries using system Boost libraries,
455+
you can pass ``scons`` the ``--use-system-boost`` flag, as follows:
414456

415457
.. code-block:: sh
416458

417-
scons --use-system-all
459+
scons --use-system-boost
418460

419-
You can use the ``--use-system-boost`` to only use the system Boost
420-
library.
461+
There is also a flag in ``scons`` if you want to build MongoDB using
462+
all system libraries rather than the included versions of the
463+
libraries, if desired. To build MongoDB with system libraries for all
464+
libraries, use the following arguments to ``scons``:
465+
466+
.. code-block:: sh
467+
468+
scons --use-system-all
421469

422470
See the :issue:`SERVER-3829` and :issue:`SERVER-5172` issues for more
423471
information.

0 commit comments

Comments
 (0)