Check for interruption before checking for stepdown in awaitReplication()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.10
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-04-22
    • 22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Siyuan Zhou
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: