Single-node replica sets shouldn't wait for electable caught up secondaries during shutdown

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 4.3.1, 4.2.6, 3.6.18, 4.0.19
    • Affects Version/s: 4.2.0-rc4
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.2, v4.0, v3.6
      1. mongod --replSet asdf
      2. mongo --eval 'rs.initiate()'
      3. CTRL-C the mongod
      4. Wait...
      5. see the error message about "No electable secondaries caught up"
    • Repl 2019-09-09
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      There are no secondaries to catch up. This probably also applies to replica sets with secondaries but only one electable replica.

            Assignee:
            Mihai Andrei
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: