[
https://issues.apache.org/jira/browse/RATIS-436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lokesh Jain resolved RATIS-436.
-------------------------------
Resolution: Duplicate
> Isolate heartbeats from append entries
> --------------------------------------
>
> Key: RATIS-436
> URL: https://issues.apache.org/jira/browse/RATIS-436
> Project: Ratis
> Issue Type: Bug
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
>
> Currently heartbeats are sent in the same channel as append entries. It might
> happen that append entries are blocked due to
> StateMachine#readStateMachineData. In such a case the heartbeats can be
> missed. There are two possible solutions -
> # Create a separate channel for heartbeats
> # Separate heartbeat logic from append entries in LogAppender. In this case
> the heartbeats should not be blocked by append entries. One way to do it is
> to send heartbeats periodically via another thread.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)