[SERVER-67862] Make ShardingStateRecovery::endMetadataOp() persist the configTime as a preliminary step for removing ShardingStateRecovery Created: 07/Jul/22  Updated: 29/Oct/23  Resolved: 15/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Paolo Polato Assignee: Antonio Fuschetto
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-60110 Get rid of ShardingStateRecovery once... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-08-08, Sharding EMEA 2022-08-22, Sharding EMEA 2022-09-05, Sharding EMEA 2022-09-19, Sharding EMEA 2022-10-03, Sharding EMEA 2022-10-17, Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14, Sharding EMEA 2022-11-28
Participants:

 Description   

SERVER-60110 is aiming at removing the ShardingStateRecovery class, as the migration logic could directly interact with the VectorClock; nevertheless, there are scenarios in multiversion deployments that can only work if the oldest version guarantees that the configTime gets persisted at the end of a moveChunk/movePrimary operation.

The purpose of this ticket is to ensure that versions 6.1+ and 7.0 make the configTime durable when ShardingStateRecovery::endMetadataOp() gets invoked, so that SERVER-60110 may be implemented as part of version 7.1



 Comments   
Comment by Githook User [ 15/Nov/22 ]

Author:

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

Message: SERVER-67862 Make ShardingStateRecovery::endMetadataOp() persist the configTime as a preliminary step for removing ShardingStateRecovery
Branch: master
https://github.com/mongodb/mongo/commit/8fa43ad1a9e9cae6133e3d0a924a07054e8fd70c

Comment by Githook User [ 11/Nov/22 ]

Author:

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

Message: SERVER-67862 Make ShardingStateRecovery::endMetadataOp() persist the configTime as a preliminary step for removing ShardingStateRecovery
Branch: master
https://github.com/mongodb/mongo/commit/42e9e3a2627e751faee01d138c3e85e81ff0a24a

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