-
Type: Task
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2024-04-01, CAR Team 2024-04-15
We are relying on the direct shard connection checks to prevent data loss due to direct connections when moving unsharded collections. However, this parameter is not set atomically with adding a second shard. In order to guarantee that there are no more direct shard operations happening when a collection is moved, we should check the cluster cardinality parameter in the moveCollection command before tracking the collection.
- depends on
-
SERVER-86295 Change move collection command to lazily track unsharded collection
- Closed
- related to
-
SERVER-89347 Check the cluster cardinality parameter before allowing any data movement commands
- Closed