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

Check for interruption before checking for stepdown in awaitReplication()

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.10
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl 2019-04-22
    • 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

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: