From dbb4d41af08a99985d8585023faf0948c16ab80d Mon Sep 17 00:00:00 2001 From: jannaerin Date: Tue, 6 Apr 2021 19:34:21 +0000 Subject: SERVER-55323 Integrate CancelableOperationContext into ReshardingOplogApplier --- src/mongo/db/cancelable_operation_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/cancelable_operation_context.cpp') diff --git a/src/mongo/db/cancelable_operation_context.cpp b/src/mongo/db/cancelable_operation_context.cpp index fdf7235c05d..f00457694bd 100644 --- a/src/mongo/db/cancelable_operation_context.cpp +++ b/src/mongo/db/cancelable_operation_context.cpp @@ -46,7 +46,7 @@ CancelableOperationContext::CancelableOperationContext(ServiceContext::UniqueOpe .then([sharedBlock = _sharedBlock, opCtx = _opCtx.get()] { if (!sharedBlock->done.swap(true)) { stdx::lock_guard lk(*opCtx->getClient()); - opCtx->markKilled(ErrorCodes::CallbackCanceled); + opCtx->markKilled(ErrorCodes::Interrupted); } }) .semi()} {} -- cgit v1.2.1