-
Type:
Improvement
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
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.)