[SERVER-31371] Add rollback Javascript test that performs operations on the sync source during rollback Created: 03/Oct/17  Updated: 27/Oct/23  Resolved: 29/May/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: Backlog - Replication Team
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-31370 Add failpoints to rs_rollback.cpp to ... Closed
Assigned Teams:
Replication
Participants:

 Description   

We should add a Javascript test that exercises a rollback scenario where the sync source is receiving operations while the rollback is under way. This can be made more deterministic by utilizing the fail points described in SERVER-31370. There may be a few interesting cases to test here. For example, a collection that gets dropped or renamed mid-way through the document refetching process. Or a document that gets deleted mid way through the refetching process. The main goal is to at least provide a basic test for this scenario since there are no existing tests that explicitly test this currently.


Generated at Thu Feb 08 04:26:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.