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/09/08 20:16:00 UTC
[jira] [Resolved] (RATIS-2318) Add a test to show how to manually restore a snapshot
[ https://issues.apache.org/jira/browse/RATIS-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-2318.
-------------------------------
Fix Version/s: 3.3.0
Resolution: Fixed
The pull request was merged.
> 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
> Priority: Major
> Fix For: 3.3.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)