Skip to content

Commit e6f0307

Browse files
author
Sam Kleinman
committed
DOCS-290 updates to the release notes
1 parent 0565bdd commit e6f0307

File tree

1 file changed

+75
-29
lines changed

1 file changed

+75
-29
lines changed

source/release-notes/2.2.txt

Lines changed: 75 additions & 29 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,50 @@ 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 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.
118135

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

122-
Issues:
139+
In 2.2 MongoDB increases the database's capability for concurrent
140+
operations using 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.
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 .
128152

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.
134154

135155
Tag Aware Sharding
136156
``````````````````
@@ -142,20 +162,44 @@ Tag Aware Sharding
142162
Fully Supported Read Preference Semantics
143163
`````````````````````````````````````````
144164

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.
149172

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.
151175

152176
.. including tagging
153177

154178
Compatibility Changes
155179
~~~~~~~~~~~~~~~~~~~~~
156180

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.
159203

160204
.. _2.2-findandmodify-returns-null:
161205

@@ -316,9 +360,6 @@ Support for logging to Syslog
316360

317361
:issue:`SERVER-2957`
318362

319-
Improved Authentication Support
320-
```````````````````````````````
321-
322363
``touch`` Command
323364
`````````````````
324365

@@ -408,16 +449,21 @@ code base.
408449

409450
.. TODO help the verbs
410451

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:
414454

415455
.. code-block:: sh
416456

417-
scons --use-system-all
457+
scons --use-system-boost
418458

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
421467

422468
See the :issue:`SERVER-3829` and :issue:`SERVER-5172` issues for more
423469
information.

0 commit comments

Comments
 (0)