StevenLuMT opened a new pull request #2991:
URL: https://github.com/apache/bookkeeper/pull/2991


   Descriptions of the changes in this PR:
   
   
   ### Motivation
   
   improve the throttle function : old pr: #2778 
   1. duplicate definition for replicationRateByBytes
   2.make sure this update safety when different callback run averageEntrySize 
updating
   
   ### Changes
   
   1.clean code for duplicate definition for replicationRateByBytes
   2.add a lock to make sure data safety for updateAverageEntrySize
   


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