Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1553

Clarify the Explanation of Versions in the 2.4 Upgrade Document

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 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``.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            bgrabar Bob Grabar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 37 weeks, 1 day ago