[SERVER-75640] Get rid of OperationShardingState::hasDbVersion Created: 04/Apr/23  Updated: 29/Oct/23  Resolved: 04/Apr/23

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

Type: Improvement Priority: Minor - P4
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: PM-2144-Cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-04-17
Participants:

 Description   

The OperationShardingState::hasDbVersion method is not very useful since it doesn't check for which database the expected version is. Given that we have OperationShardingState::getDbVersion, this is the method that should be used instead.



 Comments   
Comment by Githook User [ 04/Apr/23 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-75640 Get rid of OperationShardingState::hasDbVersion
Branch: master
https://github.com/mongodb/mongo/commit/4e131d031a6c91cc431643bc9680d7b76e41005b

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