il-kyun commented on PR #23839:
URL: https://github.com/apache/kafka/pull/23839#issuecomment-6358483994

   @chia7712 @junrao could you take a look when you have time? This fixes young 
GC slowdowns on follower brokers: PartitionStates leaves removed LinkedHashMap 
entries chained through next, and once one of them is promoted, every young GC 
copies the whole chain. The fix reuses the node instead of remove + put.
   
   I filed https://issues.apache.org/jira/browse/KAFKA-21316 and added it to 
the title. The Jira also has more test results: reproduction on three test 
clusters with and without the patch (longest chain 838-339,594 before, 2-4 
after), wider regression runs, and production numbers.
   


-- 
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