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

Backward compatibility across releases with WiredTiger

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.8
    • Component/s: WiredTiger
    • Labels:

      Description

      Attempting to open a MongoDB databases that was created with version 3.1.X using an earlier version of MongoDB returns the following error:

      [initandlisten] WiredTiger (95) wiredtiger_open: WiredTiger configuration is from an incompatible release of the WiredTiger engine: Operation not supported
      [initandlisten] Assertion: 28595:95: Operation not supported

      Then startup fails.

        Issue Links

          Activity

          Hide
          alexander.gorrod Alexander Gorrod added a comment -

          A workaround for this issue is to edit the saved configuration file to remove the version string.

          The saved configuration file is WiredTiger.basecfg in the data directory. The file is plain text, if you open it in an editor and remove the line of the form:

          version=(major=2,minor=6)   
          

          The subsequent open with the earlier version of WiredTiger will work.

          Show
          alexander.gorrod Alexander Gorrod added a comment - A workaround for this issue is to edit the saved configuration file to remove the version string. The saved configuration file is WiredTiger.basecfg in the data directory. The file is plain text, if you open it in an editor and remove the line of the form: version=(major=2,minor=6) The subsequent open with the earlier version of WiredTiger will work.
          Hide
          pasette Dan Pasette added a comment -

          Part of this will be addressed by disabling creation of the WiredTiger.basecfg file, tracked in SERVER-19100.

          Show
          pasette Dan Pasette added a comment - Part of this will be addressed by disabling creation of the WiredTiger.basecfg file, tracked in SERVER-19100 .
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'}

          Message: SERVER-18356 - Avoid reading baseconfig file when config_base is false
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/2cc1ac00f84befc87ac59391b5edf2f995c1a9fd

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'} Message: SERVER-18356 - Avoid reading baseconfig file when config_base is false Branch: develop https://github.com/wiredtiger/wiredtiger/commit/2cc1ac00f84befc87ac59391b5edf2f995c1a9fd
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'}

          Message: SERVER-18356 - Add a Python test for baseconfig ignore
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/2c788bafe95ad684bc8ca294268129d8ac5a1d93

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'} Message: SERVER-18356 - Add a Python test for baseconfig ignore Branch: develop https://github.com/wiredtiger/wiredtiger/commit/2c788bafe95ad684bc8ca294268129d8ac5a1d93
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'}

          Message: SERVER-18356 - s_all fix
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/ac0d11b064945fb82caa54aeffd7824a7c0889cc

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'} Message: SERVER-18356 - s_all fix Branch: develop https://github.com/wiredtiger/wiredtiger/commit/ac0d11b064945fb82caa54aeffd7824a7c0889cc
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'}

          Message: SERVER-18356 - change if statment per CR
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/029c17c4148dda91b3a9655414a94f0fcc6b4f64

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'} Message: SERVER-18356 - change if statment per CR Branch: develop https://github.com/wiredtiger/wiredtiger/commit/029c17c4148dda91b3a9655414a94f0fcc6b4f64
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'}

          Message: SERVER-18356 - Update documentation
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/cea2c7df19ae258c55aa8dc1e53c7913aae0d7ea

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'daveh86', u'name': u'David Hows', u'email': u'howsdav@gmail.com'} Message: SERVER-18356 - Update documentation Branch: develop https://github.com/wiredtiger/wiredtiger/commit/cea2c7df19ae258c55aa8dc1e53c7913aae0d7ea
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

          Message: Merge pull request #2129 from wiredtiger/SERVER-18356

          SERVER-18356 - Avoid reading baseconfig file when config_base is false
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/b83b901de7d3340c571f396dcedc983d68d37d9a

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'} Message: Merge pull request #2129 from wiredtiger/ SERVER-18356 SERVER-18356 - Avoid reading baseconfig file when config_base is false Branch: develop https://github.com/wiredtiger/wiredtiger/commit/b83b901de7d3340c571f396dcedc983d68d37d9a
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'}

          Message: Merge pull request #2129 from wiredtiger/SERVER-18356

          SERVER-18356 - Avoid reading baseconfig file when config_base is false
          Branch: develop
          https://github.com/wiredtiger/wiredtiger/commit/b83b901de7d3340c571f396dcedc983d68d37d9a

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'michaelcahill', u'name': u'Michael Cahill', u'email': u'michael.cahill@mongodb.com'} Message: Merge pull request #2129 from wiredtiger/ SERVER-18356 SERVER-18356 - Avoid reading baseconfig file when config_base is false Branch: develop https://github.com/wiredtiger/wiredtiger/commit/b83b901de7d3340c571f396dcedc983d68d37d9a

            People

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

              Dates

              • Created:
                Updated:
                Resolved: