[SERVER-67767] Check DbVersion using AutoGetDb instead of DSS's function Created: 04/Jul/22  Updated: 29/Oct/23  Resolved: 05/Jul/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

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

Issue Links:
Gantt Dependency
has to be done before SERVER-64209 Push the DatabaseShardingState state ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-07-11
Participants:

 Description   

The constructor of the AutoGetDb checks the version for the specified database. Consequently, it can be used in all those situations where it is necessary to lock the database and check its version (e.g. here).



 Comments   
Comment by Githook User [ 05/Jul/22 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-67767 Check DbVersion using AutoGetDb instead of DSS's function
Branch: master
https://github.com/mongodb/mongo/commit/d7f5e06a9e82e57852260267b1b5674937728e4d

Generated at Thu Feb 08 06:08:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.