diff options
author | Cheahuychou Mao <mao.cheahuychou@gmail.com> | 2021-06-11 15:14:33 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-07-20 00:56:19 +0000 |
commit | cfa9c79657373a01a9e9f66dfdb71028ca923a3c (patch) | |
tree | cf706c7538a0530ff27b7b70360b3fc42d877439 /src/mongo/db/s/migration_chunk_cloner_source_legacy.h | |
parent | 24f1f40022c0898e63aaed1d5a6a22c767e7fe0d (diff) | |
download | mongo-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.h | 2 |
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, |