summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/s/catalog_cache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/catalog_cache.cpp b/src/mongo/s/catalog_cache.cpp
index 4c261b8b9cb..5babc752314 100644
--- a/src/mongo/s/catalog_cache.cpp
+++ b/src/mongo/s/catalog_cache.cpp
@@ -499,7 +499,8 @@ boost::optional<GlobalIndexesCache> CatalogCache::_getCollectionIndexInfoAt(
} catch (const DBException& ex) {
bool isCatalogCacheRetriableError = ex.isA<ErrorCategory::SnapshotError>() ||
ex.code() == ErrorCodes::ConflictingOperationInProgress ||
- ex.code() == ErrorCodes::QueryPlanKilled;
+ ex.code() == ErrorCodes::QueryPlanKilled ||
+ ex.code() == ErrorCodes::ReadThroughCacheLookupCanceled;
if (!isCatalogCacheRetriableError) {
throw;
}