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

Test concurrent reconfig and stepdown

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2020-03-09, Repl 2020-03-23
    • 0

      The safe reconfig protocol ensures only one reconfig can happen at a time (on a given node), and reconfig cancels elections. However, a node that has learned about a new config via heartbeat and is beginning to process it could suddenly start to step down. Let's investigate whether there are concurrency issues in these scenarios.

      1. node has started to step down and suddenly learns about a new config via heartbeat
      2. a node has learned about a new config via heartbeat, but suddenly starts to step down
      3. a node has started to step down and suddenly a replSetReconfig command arrives from the user
      4. a replSetReconfig command arrives from the user and suddenly the node starts to step down

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: