Nandakumar created RATIS-2313:
---------------------------------
Summary: Wait for pending StateMachine futures to complete before
marking the leader as ready
Key: RATIS-2313
URL: https://issues.apache.org/jira/browse/RATIS-2313
Project: Ratis
Issue Type: Bug
Components: server
Reporter: Nandakumar
Assignee: Nandakumar
During leader election we don't wait for the pending StateMachine futures to
complete before making the leader ready.
This creates condition where the StateMachine might think that all the pending
transactions from Raft Log are applied to the StateMachine as the leader is
marked as ready, but the statemachine futures are not yet completed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)