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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 4.2.0-rc4
    • Fix Version/s: 4.3.1, 4.2.6, 3.6.18, 4.0.19
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0, v3.6
    • Steps To Reproduce:
      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"
    • Sprint:
      Repl 2019-09-09
    • Case:

      Description

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              redbeard0531 Mathias Stearn
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: