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

Add invariants to ensure proper primary transition state changes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.15
    • None
    • Replication
    • Fully Compatible
    • 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

            siyuan.zhou@mongodb.com Siyuan Zhou
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: