You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (Jira)" <ji...@apache.org> on 2020/02/27 11:08:01 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 ]

Lokesh Jain updated RATIS-660:
------------------------------
    Fix Version/s:     (was: 0.5.0)
                   0.6.0

> 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
>             Fix For: 0.6.0
>
>
> 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)