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

Update and clarify authSchema version checks

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Platforms 2017-12-18, Platforms 2018-01-01

      user_management_commands has 15 calls to requireAuthSchemaVersion26Final() which are redundant since the startup checks in db.cpp will refuse to let the database run with anything less than 26Final anyway.

      Similarly, the two uses of requireAuthSchemaVersion26UpgradeOrFinal are unnecessary.

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: