-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
Fully Compatible
-
v7.3
-
CAR Team 2024-02-19, CAR Team 2024-03-04, CAR Team 2024-03-18, CAR Team 2024-04-01, CAR Team 2024-04-15
-
161
Since track unsharded can no longer rely on the replica set endpoint to route commands that are coming in via a direct connection, we need to tighten the restrictions in the cluster around performing direct shard operations.
Currently, the checks are performed in the service entry point. This means that they are fundamentally best effort since adding a second shard to the cluster will not prevent any already ongoing operations from continuing to execute.
In order to have the guarantee that direct operations will not execute once collections are allowed to be tracked and moved, we need to move these checks so that they give us stronger guarantees. This means moving them to the collection acquisition/auto get collection.
- causes
-
SERVER-89592 replication_consistency_markers_impl_bm should skip direct shard operation checks
- Closed
-
SERVER-89891 Direct shard connections warnings in single shard clusters may be emitted more than once
- Closed
- is depended on by
-
SERVER-77073 Direct Shard operations shouldn't be allowed anymore (8.0 behavior)
- Closed
-
SERVER-87192 Increase testing coverage for direct shard connection checks
- Closed
-
SERVER-88263 Move direct connection warnings to the collection acquisition (and AutoGetCollection)
- Closed
- is related to
-
SERVER-88163 direct writes to shards can end up writing to orphans
- Closed