[SERVER-80257] Add test commands to replace and remove skipUpdatingIndexDocument failpoint Created: 18/Aug/23 Updated: 06/Feb/24 |
|
| Status: | Needs Scheduling |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Huayu Ouyang | Assignee: | Backlog - Replication Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Participants: |
| Description |
|
Ideally we do not want to add a failpoint to the index update code path since failpoints can make the code harder to reason about. We should instead add test commands similar to godinsert to insert/update/delete directly from the SortedDataInterface without updating the RecordStore as well.
We should also look into replacing the skipUnindexingDocumentWhenRemoved and |