Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50626

Race in read_concern_majority_getmore_secondaries.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.7.0, 4.2.10, 4.4.2, 4.0.21
    • Replication
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2, v4.0, v3.6
    • Repl 2020-09-07
    • 50

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jesse@mongodb.com A. Jesse Jiryu Davis
              jesse@mongodb.com A. Jesse Jiryu Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: