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

Add a method to determine if fCV has been set.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc1
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Storage 2017-08-21, Storage 2017-09-11, Storage 2017-10-23

      There are some non-trivial code paths (e.g: shutdown) that can happen before FCV is initialized (inside `repairDatabasesAndCheckVersion`). These non-trivial code paths may require reading FCV from memory and may incorrectly read the default 3.4 as opposed to an explicitly set 3.4.

      The example of WiredTiger shutdown that wants to know the FCV value can make a sane decision with an uninitialized value. It's presumed this state would be sufficient for future cases.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: