drriguz opened a new pull request, #680:
URL: https://github.com/apache/ratis/pull/680

   ## What changes were proposed in this pull request?
   
   Avoid using 0 delay for slow or dead followers when new entries comes.
   
   ## What is the link to the Apache JIRA
   
   [RATIS-1622: High cpu usage of 
LogAppenderDaemon](https://issues.apache.org/jira/browse/RATIS-1622)
   
   Please replace this section with the link to the Apache JIRA)
   
   ## How was this patch tested?
   
   Tested manually by using the following steps:
   * Start a cluster of 5 nodes
   * shutdown node 5 and 5
   * make some change to get new log entry
   * monitor the CPU usage of the leader node.
   
   The CPU load is significantly reduced from 90% to 10%(in Docker environment, 
and cpus is limited to 1 for each node).
   
   However, some unit tests fails locally. I'll open this to see if any tests 
will fail in CI.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to