Tsz-wo Sze created RATIS-1697:
---------------------------------
Summary: StateMachineUpdater.getStateMachineLastAppliedIndex
should handle null
Key: RATIS-1697
URL: https://issues.apache.org/jira/browse/RATIS-1697
Project: Ratis
Issue Type: Bug
Components: server
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
{code}
//StateMachineUpdater.java
long getStateMachineLastAppliedIndex() {
return stateMachine.getLastAppliedTermIndex().getIndex();
}
{code}
stateMachine.getLastAppliedTermIndex() above may return null.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)