You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (JIRA)" <ji...@apache.org> on 2018/11/27 08:51:00 UTC
[jira] [Created] (RATIS-436) Isolate heartbeats from append entries
Lokesh Jain created RATIS-436:
---------------------------------
Summary: 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
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)