Xu Shao Hong created RATIS-1582:
-----------------------------------
Summary: Add notify install snapshot finished event to trigger
cleanup of snapshot
Key: RATIS-1582
URL: https://issues.apache.org/jira/browse/RATIS-1582
Project: Ratis
Issue Type: Improvement
Components: snapshot
Reporter: Xu Shao Hong
Assignee: Xu Shao Hong
Currently, the notify install snapshot would not inform when the whole progress
is done
>From the Ozone side, the statemachine's notifyInstallSnapshotFromLeader is a
>single request and process. It is fine before we find out that the
>installation of snapshot could get stuck due to the whole RocksDB replacement
>each time (the leader could have purged the raft log during transferring the
>snapshot and thus triggers another snapshot installation when the previous
>install request is done). To solve this, we come up with the incremental
>snapshot idea, which could transfer the incremental part of RocksDB in the
>next install request, and needs to preserve the checkpoints.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)