Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17861

Change the default storage engine to wiredTiger

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.4
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Major Change
    • Epic Link:
    • Sprint:
      Quint Iteration 3.1.2, Quint Iteration 3, Quint Iteration 4

      Description

      A proposal for handling users upgrading from 3.x to 3.2:
      If a mongod is started without --storageEngine and the storage.bson file in the dbpath indicates mmapv1, then set the global storage engine as mmapv1. Otherwise, set the global storage engine as wiredTiger.

      A proposal for handling users upgrading from 2.6 to 3.2:
      If a mongod is started without --storageEngine and the local.ns file exists in the dbpath, then set the global storage engine as mmapv1. Otherwise, set the global storage engine as wiredTiger. This allows users to upgrade directly from 2.6 to 3.2, even though the storage.bson file would not exist.

        Issue Links

          Activity

          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

          Message: SERVER-17861 Change the default storage engine to wiredTiger.

          WiredTiger is used as the default storage engine if the dbpath does
          not contain any data files. Otherwise, the storage engine specified
          in the storage.bson metadata file is used when the --storageEngine
          flag is omitted from the command line invocation.
          Branch: master
          https://github.com/mongodb/mongo/commit/38862aaa17e06e5e6733598bbb487774cb3616f7

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'} Message: SERVER-17861 Change the default storage engine to wiredTiger. WiredTiger is used as the default storage engine if the dbpath does not contain any data files. Otherwise, the storage engine specified in the storage.bson metadata file is used when the --storageEngine flag is omitted from the command line invocation. Branch: master https://github.com/mongodb/mongo/commit/38862aaa17e06e5e6733598bbb487774cb3616f7
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

          Message: Revert "SERVER-17861 Change the default storage engine to wiredTiger."

          This reverts commit 38862aaa17e06e5e6733598bbb487774cb3616f7.
          Branch: master
          https://github.com/mongodb/mongo/commit/841c50f3e7a8da9831a5e8c7c9ad9a22b12a17de

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'} Message: Revert " SERVER-17861 Change the default storage engine to wiredTiger." This reverts commit 38862aaa17e06e5e6733598bbb487774cb3616f7. Branch: master https://github.com/mongodb/mongo/commit/841c50f3e7a8da9831a5e8c7c9ad9a22b12a17de
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

          Message: SERVER-17861 Change the default storage engine to wiredTiger.

          WiredTiger is used as the default storage engine if the dbpath does
          not contain any data files. Otherwise, the storage engine specified
          in the storage.bson metadata file is used when the --storageEngine
          flag is omitted from the command line invocation.
          Branch: master
          https://github.com/mongodb/mongo/commit/a335b35b2e95538220941960764e6f60136b3973

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'} Message: SERVER-17861 Change the default storage engine to wiredTiger. WiredTiger is used as the default storage engine if the dbpath does not contain any data files. Otherwise, the storage engine specified in the storage.bson metadata file is used when the --storageEngine flag is omitted from the command line invocation. Branch: master https://github.com/mongodb/mongo/commit/a335b35b2e95538220941960764e6f60136b3973
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

          Message: Revert "SERVER-17861 Change the default storage engine to wiredTiger."

          This reverts commit a335b35b2e95538220941960764e6f60136b3973.
          Branch: master
          https://github.com/mongodb/mongo/commit/12d9dea1912757d703d60473baf37a5dc79a8883

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'} Message: Revert " SERVER-17861 Change the default storage engine to wiredTiger." This reverts commit a335b35b2e95538220941960764e6f60136b3973. Branch: master https://github.com/mongodb/mongo/commit/12d9dea1912757d703d60473baf37a5dc79a8883
          Hide
          max.hirschhorn Max Hirschhorn added a comment -

          Reverted due to failures with the parallel suite. Global variables, such as TestData, are not copied into the new v8 isolate used by a ScopedThread. This causes started threads to view the active storage engine as wiredTiger (since typeof TestData.storageEngine === 'undefined'), when in fact it is mmapv1. Filed SERVER-18673.

          Show
          max.hirschhorn Max Hirschhorn added a comment - Reverted due to failures with the parallel suite . Global variables, such as TestData , are not copied into the new v8 isolate used by a ScopedThread . This causes started threads to view the active storage engine as wiredTiger (since typeof TestData.storageEngine === 'undefined' ), when in fact it is mmapv1. Filed SERVER-18673 .
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

          Message: SERVER-17861 Change the default storage engine to wiredTiger.

          WiredTiger is used as the default storage engine if the dbpath does
          not contain any data files. Otherwise, the storage engine specified
          in the storage.bson metadata file is used when the --storageEngine
          flag is omitted from the command line invocation.
          Branch: master
          https://github.com/mongodb/mongo/commit/610fab503c216c163c568065a861c2ef95513b3d

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'} Message: SERVER-17861 Change the default storage engine to wiredTiger. WiredTiger is used as the default storage engine if the dbpath does not contain any data files. Otherwise, the storage engine specified in the storage.bson metadata file is used when the --storageEngine flag is omitted from the command line invocation. Branch: master https://github.com/mongodb/mongo/commit/610fab503c216c163c568065a861c2ef95513b3d

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                  Agile