summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_aggregate.cpp
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2018-04-02 21:54:30 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2018-04-03 11:49:44 -0400
commit1a1b3de8f56e363897077d5b4c3fec9482be285a (patch)
tree7e7d8082fcff1ccc608dc82c43b0048076c24a0c /src/mongo/s/commands/cluster_aggregate.cpp
parentbe5c6fa35478729bd55c1d18547af90953bfc659 (diff)
downloadmongo-1a1b3de8f56e363897077d5b4c3fec9482be285a.tar.gz
SERVER-34270 Rename CatalogCache::onStaleConfigError() to CatalogCache::onStaleShardVersion()
Diffstat (limited to 'src/mongo/s/commands/cluster_aggregate.cpp')
-rw-r--r--src/mongo/s/commands/cluster_aggregate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_aggregate.cpp b/src/mongo/s/commands/cluster_aggregate.cpp
index da880fc886c..2a380bab223 100644
--- a/src/mongo/s/commands/cluster_aggregate.cpp
+++ b/src/mongo/s/commands/cluster_aggregate.cpp
@@ -336,7 +336,7 @@ std::vector<ClusterClientCursorParams::RemoteCursor> establishShardCursors(
} catch (const ExceptionForCat<ErrorCategory::StaleShardingError>&) {
// If any shard returned a stale shardVersion error, invalidate the routing table cache.
// This will cause the cache to be refreshed the next time it is accessed.
- Grid::get(opCtx)->catalogCache()->onStaleConfigError(std::move(*routingInfo));
+ Grid::get(opCtx)->catalogCache()->onStaleShardVersion(std::move(*routingInfo));
throw;
} catch (const ExceptionForCat<ErrorCategory::SnapshotError>&) {
// If any shard returned a snapshot error, recompute the atClusterTime.