[SERVER-32245] Update and clarify authSchema version checks Created: 09/Dec/17  Updated: 30/Oct/23  Resolved: 19/Dec/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.1

Type: Improvement Priority: Major - P3
Reporter: Sara Golemon Assignee: Sara Golemon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-32231 Remove MongoDB-CR auth mechanism Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-12-18, Platforms 2018-01-01
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 19/Dec/17 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-32245 Update and clarify authSchema version checks
Branch: master
https://github.com/mongodb/mongo/commit/a5463eebace42e0970cdb28507d6b00d1c982f18

Generated at Thu Feb 08 04:29:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.