summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
diff options
context:
space:
mode:
authorCheahuychou Mao <mao.cheahuychou@gmail.com>2021-06-11 15:14:33 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-20 00:56:19 +0000
commitcfa9c79657373a01a9e9f66dfdb71028ca923a3c (patch)
treecf706c7538a0530ff27b7b70360b3fc42d877439 /src/mongo/db/s/migration_chunk_cloner_source_legacy.h
parent24f1f40022c0898e63aaed1d5a6a22c767e7fe0d (diff)
downloadmongo-cfa9c79657373a01a9e9f66dfdb71028ca923a3c.tar.gz
SERVER-57650 Make MigrationChunkClonerSource interruptible when waiting for response to recipient commands
(cherry picked from commit d07f4ee6efe1f4405d2bc6d4063599ab867ef7c8)
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy.h')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
index 7bc9b80df0b..785c1cef30a 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
@@ -219,7 +219,7 @@ private:
* Synchronously invokes the recipient shard with the specified command and either returns the
* command response (if succeeded) or the status, if the command failed.
*/
- StatusWith<BSONObj> _callRecipient(const BSONObj& cmdObj);
+ StatusWith<BSONObj> _callRecipient(OperationContext* opCtx, const BSONObj& cmdObj);
StatusWith<std::unique_ptr<PlanExecutor, PlanExecutor::Deleter>> _getIndexScanExecutor(
OperationContext* opCtx,