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

The wassert in kill_idx should say how many indexes got deleted

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Index Maintenance
    • None

    Description

      The wassert() in kill_idx in src/mongo/db/index.cpp ought to report the number of indexes deleted from system.indexes, to aid in debugging/forensics after failure. (If I understand correctly, it 0 indexes got deleted, that suggests an isolation failure within whatever operation that ended up in kill_idx; if 2 or more indexes got deleted, then the uniqueness of index name/namespace pairs was not preserved.)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: