Don't block processing heartbeat requests when FSM is busy.
Modification:
When FSM is busy, then don't update the lastCommitIndex at that time. It's fine because the heartbeat requests and append entries requests will keep attaching the latest commit index.
Motivation:
Don't block processing heartbeat requests when FSM is busy.
Modification:
When FSM is busy, then don't update the
lastCommitIndex
at that time. It's fine because the heartbeat requests and append entries requests will keep attaching the latest commit index.Result:
Fixes #845 #830