Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions source/release-notes/2.4-upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,13 @@ operations.

#. .. include:: /includes/fact-upgrade-sharded-cluster-prereq.rst

To check the version of your indexes, run :method:`~db.collectiongetIndexes()`.
To check the version of your indexes, run :method:`db.collection.getIndexes()`.

If any index **on the config database** is ``{v:0}``, you should drop that index using
:method:`dropIndex() <db.collection.dropIndex>`, and then rebuild it
with :method:`ensureIndex() <db.collection.ensureIndex>`. This does
not apply to indexes on other databases in the cluster.
not apply to indexes on other databases in the cluster. If the ``_id``
index needs to be upgraded to ``{v:1}`` use the :method:`reIndex() <db.collection.reIndex>`.

#. Turn off the :ref:`balancer <sharding-balancing-internals>` in the
:term:`sharded cluster`, as described in
Expand Down