[SERVER-10479] The wassert in kill_idx should say how many indexes got deleted Created: 09/Aug/13  Updated: 23/Jun/15  Resolved: 23/Jun/15

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Richard Kreuter (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:

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



 Comments   
Comment by Daniel Pasette (Inactive) [ 23/Jun/15 ]

This code was completely refactored in the catalog cleanup during release 2.6 and 3.0. This is no longer a valid issue.

Generated at Thu Feb 08 03:23:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.