mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-56924: Make resharding_abort_command.js test case wait for reshardingFields.recipientShards to exist
This commit is contained in:
parent
b9d0f29acb
commit
c5c6a45a79
@ -311,6 +311,10 @@ runAbortWithFailpoint(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (coordinatorDoc.recipientShards == null) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
for (const shardEntry of coordinatorDoc.recipientShards) {
|
for (const shardEntry of coordinatorDoc.recipientShards) {
|
||||||
if (shardEntry.mutableState.state !== "applying") {
|
if (shardEntry.mutableState.state !== "applying") {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user