Description
Currently StateMachineUpdater#takeSnapshot checks whether index of snapshott taken is greater than lastAppliedIndex. It should ideally check stateMachineLastAppliedIndex which reflects the index till which state machine has already applied the log entry.
Attachments
Issue Links
- is duplicated by
-
RATIS-801 Ratis snapshot should consider stateMachine#appliedIndex for triggering snapshot
- Resolved