[SERVER-62258] Add heuristic when repairing duplicate missing index entries to keep document with highest recordId Created: 23/Dec/21 Updated: 06/Dec/22 Resolved: 01/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Shin Yee Tan | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Storage Execution
|
||||||||
| Participants: | |||||||||
| Description |
|
When missing index entries are identified as duplicate documents in validation repair mode, we remove the duplicate. We want to add a heuristic to keep the document with the higher RecordId because in most cases, this will be the newest version of that document. |