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

Cancel all user operations on heartbeat stepdown path

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0-rc1
    • Component/s: Replication
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Sprint:
      Repl 2017-10-02, Repl 2017-10-23

      Description

      Currently we cancel all running operations associated with an incoming connection when we receive the replSetStepDown command, but we don't do the same for when we step down due to our liveness information. We should also cancel ongoing operations for those stepdowns, to A) bring the behavior of the two stepdown paths into alignment and B) protect against an operation that starts when we are primary, yields, we step down, then step back, then the operation resumes.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: