summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/s/shardsvr_abort_reshard_collection_command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/shardsvr_abort_reshard_collection_command.cpp b/src/mongo/db/s/shardsvr_abort_reshard_collection_command.cpp
index 416f792d483..8f46f3a2128 100644
--- a/src/mongo/db/s/shardsvr_abort_reshard_collection_command.cpp
+++ b/src/mongo/db/s/shardsvr_abort_reshard_collection_command.cpp
@@ -111,7 +111,7 @@ public:
uassert(
5563803,
"Recipient state document still exists after attempted abort",
- donorReshardingOpStore.count(
+ recipientReshardingOpStore.count(
opCtx, BSON(ReshardingRecipientDocument::kReshardingUUIDFieldName << uuid())) ==
0);