-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Execution Team 2020-08-10, Execution Team 2020-08-24
-
95
From the design:
The CollectionValidation::validate() function will accept a RepairData flag to allow it to fix certain problems that do not require a full index rebuild. This new “repair mode” will be used by startup repair in repairCollections to avoid rebuilding indexes in certain data inconsistency cases (SERVER-49340).
This new mode will also be accessible via running the validate command in standalone mode with a new parameter to the validate user command, _
{repair: true}_. This mode is incompatible with _
{background: true}_ and _
{enforceFastCounts: true}_ and requires an X collection lock.
- is duplicated by
-
SERVER-49747 Test that startup --repair deletes corrupt records
- Closed
- related to
-
SERVER-50205 validate_repair_mode.js and repair_corrupt_document.js fails under Windows and Mac OS
- Closed