[DOCS-13378] Investigate changes in SERVER-41965: Change repair to only rebuild indexes on repaired collections Created: 30/Jan/20  Updated: 13/Nov/23  Resolved: 25/Jun/20

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 4.3.4, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Kanchana Sekhar
Resolution: Fixed Votes: 0
Labels: docs-administration
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-41965 Change repair to only rebuild indexes... Closed
Participants:
Days since reply: 3 years, 32 weeks, 6 days ago
Epic Link: DOCS: 4.4 Server Release Work
Story Points: 3

 Description   

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



 Comments   
Comment by Githook User [ 25/Jun/20 ]

Author:

{'name': 'Kanchana Sekhar', 'email': 'kanchana.sekhar@mongodb.com', 'username': 'kanchana-mongodb'}

Message: DOCS-13378 Change repair to only rebuild indexes on repaired collections
Branch: master
https://github.com/mongodb/docs/commit/cae4a23b7c1d4a8d3b629d6b333c648d57d71174

Comment by Kanchana Sekhar [ 23/Jun/20 ]
Generated at Thu Feb 08 08:07:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.