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

Primary failed - secondaries would not take over

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.5
    • Component/s: Replication
    • None
    • Environment:
      ubuntu
    • ALL

      Our primary server ran out of disk space (due to us turning on verbose logging to diagnose a different problem). This then, correctly, caused the primary to step down. However, it was a single operation ahead of any of the secondaries.

      We then saw that none of the secondaries would take over as primary because the primary would veto (due to being ahead). And so, our set was left without a primary until we killed the mongo process on the primary (freeing up space by deleting the large log files had no affect as mongo still had a lock on the log file).

      In this situation it would be good if:

      • the primary had carried on replicating - allowing the secondaries to catch up and take over
      • the primary had completely died - we can deal with the rollback issue and write safety would have meant we were ok here anyway

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            colinhowe Colin Howe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: