Tsz-wo Sze created RATIS-2318: --------------------------------- Summary: Add a test to show how to manually restore a snapshot Key: RATIS-2318 URL: https://issues.apache.org/jira/browse/RATIS-2318 Project: Ratis Issue Type: Improvement Components: snapshot, test Reporter: Tsz-wo Sze Assignee: Tsz-wo Sze
In some error cases, the data of a state machine may become corrupted. One way to fix it is to remove it from the Raft group and then add a new machine. However, this approach is infeasible in some production envirnoment. In this JIRA, we add a unit test to show how to manually fix a corrupted state machine by restoring a snapshot from the leader. -- This message was sent by Atlassian Jira (v8.20.10#820010)