[SERVER-73287] Implement database versioning protocol for metadata consistency command Created: 25/Jan/23  Updated: 29/Oct/23  Resolved: 09/Mar/23

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

Type: Task Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20
Participants:

 Description   

The database primary shard must partecipate to the database versioning protocol in the _shardsvrCheckMetadataConsistency command by checking that the db version is correct and that the shard is actually the primary shard for the database.
This check should be very similar to what we do in ShardingDDLCoordinators.



 Comments   
Comment by Githook User [ 09/Mar/23 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-73287 Implement database versioning protocol for metadata consistency command
Branch: master
https://github.com/mongodb/mongo/commit/9b4ddb11af242d7c8d48181c26ca091fe4533642

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