-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: manual
-
Labels:
Description
Downstream Change Summary
- Repair now performs a full collection validation. Repair previously only called WT verify() to verify data file integrity. Now it also checks for inconsistencies between a collection and its indexes.
- Repair will not rebuild a collection's indexes unless collection validation fails or if the collection was salvaged by WT
Description of Linked Ticket
At present, --repair will unconditionally rebuild all indexes. There should be a parameter that disables this behavior and only rebuilds indexes on collections that have been salvaged and may have modified data or collections with indexes that fail validation.
Since index builds are very slow, this would be helpful for very large installations that only need to repair a single collection out of many.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-41965 Change repair to only rebuild indexes on repaired collections
- Closed