summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_txn_cloner.cpp
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2021-07-01 15:22:48 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-22 22:36:34 +0000
commitbe9790dcf2de451d8e218f4471d2d8faa5f26aaa (patch)
tree4ea90ec31f32f84ae75e54a9c38cc544aef6a41f /src/mongo/db/s/resharding/resharding_txn_cloner.cpp
parent4b9d7175b46a802e180b575aecf3292434fff8f4 (diff)
downloadmongo-be9790dcf2de451d8e218f4471d2d8faa5f26aaa.tar.gz
SERVER-50937 Wrap operations in resharding coordinator that contact remote nodes with WithAutomaticRetry
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_txn_cloner.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_txn_cloner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_txn_cloner.cpp b/src/mongo/db/s/resharding/resharding_txn_cloner.cpp
index 6337b852311..c0600fbbc5d 100644
--- a/src/mongo/db/s/resharding/resharding_txn_cloner.cpp
+++ b/src/mongo/db/s/resharding/resharding_txn_cloner.cpp
@@ -267,7 +267,7 @@ SemiFuture<void> ReshardingTxnCloner::run(
"readTimestamp"_attr = _fetchTimestamp,
"error"_attr = redact(status));
})
- .until([chainCtx, factory](const Status& status) {
+ .until<Status>([chainCtx, factory](const Status& status) {
if (!status.isOK() && chainCtx->pipeline) {
auto opCtx = factory.makeOperationContext(&cc());
chainCtx->pipeline->dispose(opCtx.get());