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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            richard.kreuter Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: