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

Add invariants to ensure proper primary transition state changes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.15
    • Component/s: Replication
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2016-09-19, Repl 2016-10-10

      Description

      enum PrimaryTransitionState {
      Secondary,
      CatchingUp,
      WaitingForDrainToBecomePrimary,
      WaitingForDrainButStaySecondary,
      Primary,
      }
      

      If a stepdown occurs in CatchingUp, we'd go straight back to Secondary. If it
      happens in WaitingForDrainToBecomePrimary, we'd go to
      WaitingForDrainButStaySecondary.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: