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

Cancel all user operations on heartbeat stepdown path

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Minor Change
    • Repl 2017-10-02, Repl 2017-10-23

      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.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: