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

Catch MustDowngrade errors thrown by repairDatabaseAndCheckVersion

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.10
    • None
    • None
    • Fully Compatible
    • Storage NYC 2019-03-25

    Description

      In db.cpp, the call to repairDatabaseAndCheckVersion only every returns a MustDowngrade error, which forces the server to exit cleanly. 

      Lower levels the code, DatabaseHolder::openDb for example, may need to throw the MustDowngrade error code, so db.cpp::_initAndListen should be modified to catch this error and exit cleanly.

      Attachments

        Issue Links

          Activity

            People

              divjot.arora@mongodb.com Divjot Arora
              louis.williams@mongodb.com Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: