diff options
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_donor_oplog_iterator_test.cpp')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_donor_oplog_iterator_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_donor_oplog_iterator_test.cpp b/src/mongo/db/s/resharding/resharding_donor_oplog_iterator_test.cpp index 4338bb7399b..341bbbb92f6 100644 --- a/src/mongo/db/s/resharding/resharding_donor_oplog_iterator_test.cpp +++ b/src/mongo/db/s/resharding/resharding_donor_oplog_iterator_test.cpp @@ -177,7 +177,7 @@ public: // triggering an invariant due to the task executor's thread having a Client still. return ExecutorFuture(executor) .then([iter, executor] { - return iter->getNextBatch(std::move(executor), CancelationToken::uncancelable()); + return iter->getNextBatch(std::move(executor), CancellationToken::uncancelable()); }) .then([](auto x) { return x; }) .get(); |