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

Race in read_concern_majority_getmore_secondaries.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.10, 4.7.0, 4.4.2, 4.0.21
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2, v4.0, v3.6
    • Sprint:
      Repl 2020-09-07
    • Linked BF Score:
      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

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

                Dates

                Created:
                Updated:
                Resolved: