You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Mukul Kumar Singh (JIRA)" <ji...@apache.org> on 2019/07/14 15:23:00 UTC

[jira] [Updated] (RATIS-614) Raft leader should use state machine's last applied index for LeaderNotReady exception

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

Mukul Kumar Singh updated RATIS-614:
------------------------------------
    Labels: ozone  (was: )

> Raft leader should use state machine's last applied index for LeaderNotReady exception
> --------------------------------------------------------------------------------------
>
>                 Key: RATIS-614
>                 URL: https://issues.apache.org/jira/browse/RATIS-614
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>              Labels: ozone
>
> Currently Raft leader uses the StateMachineUpdater's lastAppliedIndex to determine if leader is ready to take requests. It should rather use StateMachine's lastAppliedTermIndex because it denotes the index till which the transactions have already been applied whereas StateMachineUpdater's lastAppliedIndex denotes the index till which the applyTransaction call has already been made.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)