-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Sharding NYC
-
4
See SERVER-66674 for more context. Our goal is to relocate the mutations on Config server using runCommandWithFixedRetryAttempts() to DBDirectClientWrapper.
Note: unlike the parent ticket, not all invocations of runCommandWithFixedRetryAttempts() are specific to the config server, but most of them are. There are ~75 total call sites. One example when this command is applied to a different shard is sendWriteCommandToRecipient(). We also need to exclude cases when the call may be from a normal shard to the config shard, however that would be very odd.
To verify the conversion is correct add the invariant that when this is invoked on new direct client wrapper, the cluster role should be config server - this needs to be verified in normal mode, not as Catalog shard. If some cases are not obvious, create another ticket.
- depends on
-
SERVER-66672 Support the runBatchWriteCommand on ShardingCatalogClientLocal for direct client
- Closed
- is depended on by
-
SERVER-66711 Get rid of ShardLocal
- Closed