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

Riguz Lee commented on RATIS-1622:
----------------------------------

{quote}Right, shouldSendAppendEntries() will keep returning true. How about we 
enforce a min wait time as below?
{quote}
It still has the issue, because shouldSendAppendEntries() is true when a 
follower is offline. My idea is that we can avoid sending to those dead 
followers too frequently by checking the lastGrpcResponseTime of a follower.

I've opened [https://github.com/apache/ratis/pull/680] and please help to 
review that.

BTW, I cannot pass some tests, and it takes 1 hour to run all the tests! I 
cannot make it work in windows, but mvn verify works in WSL.

> High cpu usage of LogAppenderDaemon
> -----------------------------------
>
>                 Key: RATIS-1622
>                 URL: https://issues.apache.org/jira/browse/RATIS-1622
>             Project: Ratis
>          Issue Type: Improvement
>          Components: server
>            Reporter: Tsz-wo Sze
>            Assignee: Riguz Lee
>            Priority: Major
>         Attachments: image-2022-07-12-15-39-40-948.png, 
> image-2022-07-12-15-40-29-685.png, image-2022-07-12-15-50-40-036.png, 
> image-2022-07-12-19-20-06-014.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As reported by Riguz Lee in  
> https://lists.apache.org/thread/p5hq3nr1zqpkgd3fr0vyx9j5d2lx6gf9 , 
> LogAppenderDaemon has a high cpu usage.



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

Reply via email to