[
https://issues.apache.org/jira/browse/RATIS-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-244.
------------------------------
Fix Version/s: 3.3.0
Resolution: Fixed
The pull request is now merged. Thanks, [~abhishek.pal]!
> MD5 file might not exist for snapshot file
> ------------------------------------------
>
> Key: RATIS-244
> URL: https://issues.apache.org/jira/browse/RATIS-244
> Project: Ratis
> Issue Type: Bug
> Components: server
> Reporter: Andy Wu
> Assignee: Abhishek Pal
> Priority: Minor
> Fix For: 3.3.0
>
> Attachments: 1320_review.patch
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> When we take snapshots, a copy of snapshot file and its MD5 file are
> persisted on disk. But they are not atomic operation. In some condition, we
> might have a partial snapshot file persisted on disk. While we need to
> SimpleStateMachineStorage#findLatestSnapshot(), we should skip the snapshot
> files without MD5.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)