-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 5.0.0, 5.2.0, 5.1.0
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
Sharding EMEA 2021-12-27, Sharding EMEA 2022-01-10
Serializeation of DDL operations on step-up is guaranteed by the ShardingDDLCoordinator service that rely on the assumption that all the uncompleted DDL operations store their coordinator document in config.system.sharding_ddl_coordinators .
Resharding is a bit special in this sense because it has its own recovery method running on the CSRS and doesn't store any coordinator document on the DB primary shard. This means that on stendup other DDL operations could wrongly be executed concurrently with resharding on the same namespace.
In order to fix this we will create a proper ShardingDDLCoordianator for resharding that will store its coordinator document along with the other DDL operations.
The coordination of the resharding operation will still be delegated to the CSRS and the new ShardingDDLCoordinator on the DB primary shard will act just as a pass-through.
- is related to
-
SERVER-62338 Delete ReshardCollectionCoordinator_NORESILIENT once 6.0 branches out
- Closed
-
SERVER-62418 Drain recoverable ReshardCollectionCoordinators on FCV downgrade
- Closed