You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Song Ziyang (Jira)" <ji...@apache.org> on 2022/08/14 04:53:00 UTC

[jira] [Commented] (RATIS-1671) Trigger to send a heartbeat immediately

    [ https://issues.apache.org/jira/browse/RATIS-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17579323#comment-17579323 ] 

Song Ziyang commented on RATIS-1671:
------------------------------------

[~szetszwo] Got it. Thanks for reminding, I'll pay more attention in the future.

> Trigger to send a heartbeat immediately
> ---------------------------------------
>
>                 Key: RATIS-1671
>                 URL: https://issues.apache.org/jira/browse/RATIS-1671
>             Project: Ratis
>          Issue Type: Sub-task
>          Components: server
>            Reporter: Song Ziyang
>            Assignee: Song Ziyang
>            Priority: Major
>         Attachments: 712_review.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When a new linearizable Read request arrives, leader should first broadcast heartbeats to confirm its leadership. This API provides to semantic to send a AppendEntriesRPC immediately. It can be called in LeaderStateImpl like getSenders().forEach(sendAppendEntriesNow()).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)