Check for _id indexes on all collections at startup in replication mode

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In the event of a suitably inopportune crash, a node might end up missing its _id indexes. (E.g., if you crash during a compact or a reIndex).

      This will lead to problems, probably crashes, when you turn the node back online as a secondary or a slave.

      Maybe the server should check for required indexes, and shut down gracefully with suitably informative log messages, when it starts up.

            Assignee:
            Unassigned
            Reporter:
            Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: