shustsud opened a new pull request #2813:
URL: https://github.com/apache/bookkeeper/pull/2813


   ### Motivation
   - Motivation is as described in 
[PR#2797](https://github.com/apache/bookkeeper/pull/2797).
   > In one day, zookeepers became high cpu usage and disk full.
   > The cause of this is bookie's gc of overreplicated ledgers.
   > Gc created/deleted zk nodes under /ledgers/underreplication/locks very 
frequently and some bookies ran gc at same time.
   > As a result, zookeepers created a lot of snapshots and became disk full.
   
   - If [PR#2797](https://github.com/apache/bookkeeper/pull/2797) was merged 
first, this PR needs to be fixed.
   
   ### Changes
   - Add an ensemble check before creating the lock node.
   This is to reduce the number of lock node creations and deletions in ZK.
   


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