The wassert in kill_idx should say how many indexes got deleted

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: