Start responding to hello requests with ok:0 when Master failed to stepDown during shutdown and forceShutdown is true

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Replication
    • 22
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We need to start responding to hello requests with ok:0 for Primary node when it fails to step down or replica set is only 1 node when forceShutdown is set to true here
      same as we do for quiesce mode for secondaries here.

      As Shutdown code assumes that primaries will always be able to step-down here so it will be a secondary and will be able to enter quiesce mode eventually but that might not be the case as primary can fail to stepDown due to multiple reasons for example not able to find suitable secondary to step_up

      1. secondaries have been shutdown first
      2. Replica Set can be formed from only one node.

       

            Assignee:
            [DO NOT USE] Backlog - Replication Team
            Reporter:
            Moustafa Maher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: