[SERVER-30355] Make background validation work in the background Created: 26/Jul/17 Updated: 06/Dec/22 Resolved: 15/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Assigned Teams: |
Storage Execution
|
| Sprint: | Storage 2017-08-21 |
| Participants: |
| Description |
|
The IndexObserver hooks will be installed when a background validation starts and removed upon completion. Implement cursor saving and restoring for the traverseRecordStore() and traverseIndex() functions in the RecordStoreValidateAdaptor. We'll need to change locking modes for the database and collection during the background validation for yielding, snapshot changing and allowing other global/database/collection operations to run. Pass the background flag from the ValidateCmd to the actual validation command. Add FSM & unit tests. |