-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
Fully Compatible
-
Repl 2023-03-06, Repl 2023-03-20, Repl 2023-04-03, Repl 2023-04-17
Currently, database/shard version checks are done with the help of the OperationShardingState class. OperationShardingState already supports storing versions for multiple namespaces (despite the stale comment). So we will need to setShardRole as part of the command invocation based on the database/shard versions for the namespaces in the nsInfo before actually executing any operation.
To do that, each entry in nsInfo may accept an unstable databaseVersion/shardVersion field used internally for router to shard database/shard version check for that namespace.
- depends on
-
SERVER-72788 Construct sub-batching bulkWrite command to send to shard
- Closed
- is depended on by
-
SERVER-72767 Support timeseries inserts in bulkWrite on mongod
- Closed
-
SERVER-72790 Handle stale config errors and refresh targeters for bulkWrite
- Closed
-
SERVER-75202 Re-enable bulk write update test and write a delete test for sharded mongod
- Closed