-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.9.0
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
Sharding 2021-04-05
-
53
CatalogCache will retry if the refresh fails with SnapshotError. However, when the refresh uses shard_local::runAggregation (i.e. when the config server refreshes its own cache), the SnapshotError is not propagated back to the catalog_cache. Instead, the catalog cache sees a CommandFailed error and does not retry. This happens because the SnapshotError gets masked here and converted to CommandFailed.
To address this bug we could change this to instead be:
return getStatusFromCommandResult(ret);
- is duplicated by
-
SERVER-55472 Make DBClientCursor::fromAggregationRequest return the original status rather than CommandFailed
- Closed
- is related to
-
SERVER-55472 Make DBClientCursor::fromAggregationRequest return the original status rather than CommandFailed
- Closed