hangc0276 opened a new pull request #3144:
URL: https://github.com/apache/bookkeeper/pull/3144


   ### Motivation
   https://github.com/apache/bookkeeper/pull/2686 introduce RocksDB compaction 
on checkpoint to fix seeking RocksDB metadata timeout issue. However, trigger 
RocksDB compaction is a heavy operation and the checkpoint will be triggered in 
high frequency, which cause db-storage-cleanup thread always into high load, 
and make the cpu keeps 100%. 
https://github.com/apache/bookkeeper/pull/2686#issuecomment-1065893543 
   
   Related logs: 
https://github.com/apache/bookkeeper/pull/2686#issuecomment-1065888832
    
   In order to fix this issue, we divide into two steps.
   1. Remove the compactRange logic in during checkpoint
   2. Figure out smarter solution for deleted entry compaction in RocksDB
   
   This is the first part.
   
   I have sent a discuss into dev mail list.
   https://lists.apache.org/thread/jkfbodv6xv2szz8ldb5mvkb00hoor5yj
   
   
   ### Changes
   1. Remove the compactRange logic during checkpoint.
   


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