Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
In source/release-notes/2.4-upgrade.txt,
the last paragraph in this section is unclear:
Troubleshooting Upgrade/Downgrade Operations
````````````````````````````````````````````
If you do not use :option:`--upgrade <mongod --upgrade>`, when you
attempt to start a 2.2 :program:`mongod` and you have created a
``2dsphere`` or ``text`` index, :program:`mongod` will return the
following message:
.. code-block:: none
'need to upgrade database index_plugin_upgrade with pdfile version
4.6, new version: 4.5 Not upgrading, exiting'
While running 2.4, to check the data file version of a MongoDB
database, use the following operation in the shell:
.. code-block:: javascript
db.getSiblingDB('<databasename>').stats().dataFileVersion
The major data file version for both 2.2 and 2.4 is ``4``, the minor
data file version for 2.2 is ``5`` and the minor data file version for
2.4 is ``6`` if you have created a ``2dsphere`` or ``text``.