-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Repl 2021-06-28
-
151
In the reInitiate() function of ReplSetTest, we currently do not wait for newlyAdded field to be removed. Callers of this function may only want to add a new node and wait for it to become a voter or electable, so we could consider adding the option to automatically wait for the newlyAdded field to be removed. We could also consider adding it to awaitSecondaryNodes() or awaitReplication().
We can probably call waitForAllNewlyAddedRemovals to accomplish this.