-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.5.13
-
Component/s: Aggregation Framework, Sharding
-
None
-
Sharding
SERVER-30025 will make the scatterGather*() methods throw a StaleConfigException on seeing a stale shardVersion error in a response from a shard.
This StaleConfigException is caught at the top of mongos in generic command processing, and the command gets retried from the beginning.
So, a command need not intercept stale shardVersion errors and perform any complicated retry logic itself.
This will fix a bug in aggregation, where if a sharded collection is dropped and recreated as a view, the view definition response was not handled by the aggregation code on mongos.
- depends on
-
SERVER-30025 for sharded read with empty query, target only shards that own data for the collection instead of all shards
- Closed
- duplicates
-
SERVER-34695 Move aggregation retry logic to command processing layer
- Closed