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

The wassert in kill_idx should say how many indexes got deleted

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None

      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.)

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

              Created:
              Updated:
              Resolved: