[SERVER-64738] Implement hook for pausing / resuming the replicator Created: 21/Mar/22  Updated: 07/Apr/22  Resolved: 07/Apr/22

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

Type: Task Priority: Major - P3
Reporter: Vishnu Kaushik Assignee: Samyukta Lanka
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Sprint: Repl 2022-04-04, Repl 2022-04-18
Participants:

 Description   

1. Create pause / resume hook that derives from BGHook.
2. Create methods on the replicator fixture for sending the PAUSE / RESUME
3. Call pause resume method from the hook. There will be some bookkeeping with whether the replicator is alive or not that we'll have to think about as well, because we can't call pause when the replicator is dead.
Likewise, we will also have to think about what happens when a paused replicator is killed, and then the pause / resume hook tries to resume it before it has been restarted.


Generated at Thu Feb 08 06:01:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.