Details
-
Bug
-
Resolution: Won't Do
-
Major - P3
-
None
-
4.0.16
-
None
-
ALL
-
Repl 2020-02-24
Description
In rollback_after_enabling_majority_reads.js, we have a race condition where we execute the validate command before we wait for the node to be in the SECONDARY state. This is likely because we use the waitForState func in ReplSetTest, which waits for the state as indicated by the primary. Instead, we should use the waitForState command in rslib.js, which runs waitForMemberState on the node itself.