[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: |
|
||||||||
| 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: |