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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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 Unassigned
            Reporter:
            richard.kreuter Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: