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

doReplSetReconfig should fail during primary drain mode

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc3, 4.7.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Repl 2020-04-20

      The "_firstOpTimeOfMyTerm" will be

      { ts: Timestamp(2147483647, 0), t: 2147483647 }

      , and that causes an invariant. doReplSetReconfig is only meant to succeed once the primary can accept writes.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: