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

Check for interruption before checking for stepdown in awaitReplication()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.10
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Repl 2019-04-22
    • Linked BF Score:
      22

      Description

      In awaitReplication(), interruption should be checked before stepdown, so that the write operations interrupted during stepdown will definitively return an InterruptedDueToStepDown error. Currently, PrimarySteppedDown may also be returned depending on the race between the stepdown and the write.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: