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

Check for interruption before checking for stepdown in awaitReplication()

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

      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@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: