Race in read_concern_majority_getmore_secondaries.js

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v4.4, v4.2, v4.0, v3.6
    • Repl 2020-09-07
    • 50
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The test stops replication on two secondaries using the rsSyncApplyStop failpoint, then writes to the primary. It assumes that these writes will not be majority committed. However, it's possible for one or more secondaries to continue replicating and acknowledging writes until they notice the failpoint has been set. Let's use the waitForFailPoint command to ensure replication has really stopped before executing the writes that we don't want committed.

              Assignee:
              A. Jesse Jiryu Davis
              Reporter:
              A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: