You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2018/11/29 23:35:00 UTC
[jira] [Created] (RATIS-443) FollowerState.inLogSync can be
incorrectly cleared in appendEntriesAsync
Tsz Wo Nicholas Sze created RATIS-443:
-----------------------------------------
Summary: FollowerState.inLogSync can be incorrectly cleared in appendEntriesAsync
Key: RATIS-443
URL: https://issues.apache.org/jira/browse/RATIS-443
Project: Ratis
Issue Type: Bug
Components: server
Reporter: Tsz Wo Nicholas Sze
Assignee: Tsz Wo Nicholas Sze
FollowerState.inLogSync is to indicate that the follower is write log/statemachine data so that it should not time out to start a leader election. However, it is not working correctly in the async case: suppose there are two or more outstanding appendEntriesAsync calls, the first completed call will clear inLogSync even if the other calls are still in progress.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)