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 2021/04/20 14:55:00 UTC

[jira] [Updated] (RATIS-660) Ratis snapshot might miss failed applied State Machine Transactions

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

Tsz-wo Sze updated RATIS-660:
-----------------------------
    Fix Version/s:     (was: 2.0.0)

Ratis 2.0.0 was already released.  Removing it from "Fix Version/s" here.

> Ratis snapshot might miss failed applied State Machine Transactions 
> --------------------------------------------------------------------
>
>                 Key: RATIS-660
>                 URL: https://issues.apache.org/jira/browse/RATIS-660
>             Project: Ratis
>          Issue Type: Bug
>          Components: snapshot
>    Affects Versions: 0.5.0
>            Reporter: Shashikant Banerjee
>            Priority: Major
>
> While taking a ratis snapshot, it just applied all the transactions from the commitIndex to the applied index. In case, it needs to take a snapshot, on applyTransaction failure, it closes the raftServerImpl. In case, snapshot is not required while applying the current set of transactions and if any of these transactions fail, these will be ignored. Ideally, every applyTransaction failures should be caught and stateMachine updater should not take any further snapshot once a failure is detected.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)