diff options
Diffstat (limited to 'src/mongo/db/serverless/shard_split_commands.cpp')
| -rw-r--r-- | src/mongo/db/serverless/shard_split_commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/serverless/shard_split_commands.cpp b/src/mongo/db/serverless/shard_split_commands.cpp index 34e44a72a30..caf3a44cfde 100644 --- a/src/mongo/db/serverless/shard_split_commands.cpp +++ b/src/mongo/db/serverless/shard_split_commands.cpp @@ -219,7 +219,7 @@ public: auto splitService = repl::PrimaryOnlyServiceRegistry::get(opCtx->getServiceContext()) ->lookupServiceByName(ShardSplitDonorService::kServiceName); - auto [optionalDonor, _] = ShardSplitDonorService::DonorStateMachine::lookup( + auto optionalDonor = ShardSplitDonorService::DonorStateMachine::lookup( opCtx, splitService, BSON("_id" << cmd.getMigrationId())); uassert(ErrorCodes::NoSuchTenantMigration, |
