summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_donor_recipient_common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_donor_recipient_common.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_donor_recipient_common.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_donor_recipient_common.cpp b/src/mongo/db/s/resharding/resharding_donor_recipient_common.cpp
index 18d10d50547..4ac8df3cd22 100644
--- a/src/mongo/db/s/resharding/resharding_donor_recipient_common.cpp
+++ b/src/mongo/db/s/resharding/resharding_donor_recipient_common.cpp
@@ -333,7 +333,9 @@ ReshardingRecipientDocument constructRecipientDocumentFromReshardingFields(
recipientCtx.setState(RecipientStateEnum::kAwaitingFetchTimestamp);
auto recipientDoc = ReshardingRecipientDocument{
- std::move(recipientCtx), reshardingFields.getRecipientFields()->getDonorShardIds()};
+ std::move(recipientCtx),
+ reshardingFields.getRecipientFields()->getDonorShardIds(),
+ reshardingFields.getRecipientFields()->getMinimumOperationDurationMillis()};
auto sourceNss = reshardingFields.getRecipientFields()->getSourceNss();
auto sourceUUID = reshardingFields.getRecipientFields()->getSourceUUID();