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 Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/07/20 21:42:01 UTC

[jira] [Updated] (RATIS-244) MD5 file might not exist for snapshot file

     [ https://issues.apache.org/jira/browse/RATIS-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo Nicholas Sze updated RATIS-244:
--------------------------------------
    Component/s: server

> 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: Andy Wu
>            Priority: Minor
>
> 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
(v7.6.3#76005)