[
https://issues.apache.org/jira/browse/RATIS-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16964080#comment-16964080
]
Hadoop QA commented on RATIS-614:
---------------------------------
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m
16s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 7s{color}
| {color:red} RATIS-614 does not apply to master. Rebase required? Wrong
Branch? See https://yetus.apache.org/documentation/0.8.0/precommit-patchnames
for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=19.03.4 Server=19.03.4 Image:yetus/ratis:date2019-10-31 |
| JIRA Issue | RATIS-614 |
| JIRA Patch URL |
https://issues.apache.org/jira/secure/attachment/12984489/RATIS-614.002.patch |
| Console output |
https://builds.apache.org/job/PreCommit-RATIS-Build/1122/console |
| Powered by | Apache Yetus 0.8.0 http://yetus.apache.org |
This message was automatically generated.
> 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: Blocker
> Labels: ozone
> Attachments: RATIS-614.001.patch, RATIS-614.002.patch
>
>
> 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 completed whereas StateMachineUpdater's
> lastAppliedIndex denotes the index till which the applyTransaction call has
> been made to the StateMachine.
> Currently the new leader might not have applied all the transactions of the
> old term. Any reads served on the new leader can be stale.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)