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 Sze (Jira)" <ji...@apache.org> on 2022/08/26 17:00:01 UTC
[jira] [Resolved] (RATIS-1671) Trigger to send a heartbeat immediately
[ https://issues.apache.org/jira/browse/RATIS-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-1671.
-------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
The pull request is now merged. Thanks, [~William Song]!
> 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
> Fix For: 3.0.0
>
> Attachments: 712_review.patch
>
> Time Spent: 40m
> 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)