You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2025/07/09 05:55:00 UTC
[jira] [Created] (RATIS-2318) Add a test to show how to manually restore a snapshot
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)