-
Type: Task
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Replication
When mongos receives a bulkWrite response from a shard, it needs to iterate through the response cursor and look for StaleConfig / StaleDbVersion errors. If anything was stale for a particular namespace, we will need to note down the error and mongos needs to refresh the targeters before retargeting the remaining operations. This is similar to what we currently have (this and this) in BatchWriteExec.
- depends on
-
SERVER-72789 Validate the database/shard versions for bulkWrite sent from mongos
- Closed
-
SERVER-72792 Implement progress bookkeeping for individual ops in BulkWriteExec
- Closed
- related to
-
SERVER-77778 Test targeter refreshing when we receive stale config errors from the shards
- Closed