From bf9c77c2330f0414cde0c83e83dc5e7dd38cb312 Mon Sep 17 00:00:00 2001 From: Gregory Noma Date: Fri, 2 Sep 2022 14:25:41 +0000 Subject: SERVER-67611 Remove storage usages of `ErrorCategory::Interruption` --- src/mongo/db/index/index_access_method.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/index/index_access_method.cpp') diff --git a/src/mongo/db/index/index_access_method.cpp b/src/mongo/db/index/index_access_method.cpp index cac540aae8f..4ddf9247918 100644 --- a/src/mongo/db/index/index_access_method.cpp +++ b/src/mongo/db/index/index_access_method.cpp @@ -1012,7 +1012,7 @@ void SortedDataIndexAccessMethod::getKeys(OperationContext* opCtx, multikeyPaths->clear(); } - if (ex.isA() || ex.isA()) { + if (opCtx->isKillPending()) { throw; } -- cgit v1.2.1