summaryrefslogtreecommitdiff
path: root/src/mongo/db/serverless/shard_split_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/serverless/shard_split_commands.cpp')
-rw-r--r--src/mongo/db/serverless/shard_split_commands.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/serverless/shard_split_commands.cpp b/src/mongo/db/serverless/shard_split_commands.cpp
index d18e1bd2c45..32143d5bb4c 100644
--- a/src/mongo/db/serverless/shard_split_commands.cpp
+++ b/src/mongo/db/serverless/shard_split_commands.cpp
@@ -61,7 +61,8 @@ public:
const auto& cmd = request();
auto stateDoc = ShardSplitDonorDocument(cmd.getMigrationId());
stateDoc.setTenantIds(cmd.getTenantIds());
- stateDoc.setRecipientConnectionString(cmd.getRecipientConnectionString());
+ stateDoc.setRecipientTagName(cmd.getRecipientTagName());
+ stateDoc.setRecipientSetName(cmd.getRecipientSetName());
opCtx->setAlwaysInterruptAtStepDownOrUp();