[SERVER-28216] Recoverable Rollback: Support ability to resume rollback from Phase 2 upon restart Created: 06/Mar/17  Updated: 06/Dec/22  Resolved: 31/May/17

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

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Backlog - Replication Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Participants:

 Description   

If there is a restart during Phase 2, we should be able to restart the rollback process and skip Phase 1.
The information in local.system.rollback.progress should be sufficient to determine if Phase 1 can be skipped.
The entry point to Phase 2 would be in BackgroundSync right before we start to look for a new sync source.
We would enter rollback and return to the producer loop when rollback completes.
To test this feature, we would need a JS test and a fail point:
The fail point would make the server hang in Phase 2, at which point the JS test could restart the node.


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