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

   Descriptions of the changes in this PR:
   
   ### Motivation
   
   When flushing, trigger flush to exchange writeCache and flushBeingCache
   flushBeingCache will be cleaned up immediately after flushed
   this logic causes the cache capacity to fluctuate greatly
   
   ### Changes
   
   This optimization mainly solves this point and realizes the logic:
   1. When flushBeingCache is flushed to disk, it is not deleted immediately, 
but dumped to lastFlushCache
   2. After the dump is completed, clear the flushBeingCache again
   Eventually: the cache has a fixed cache duration
   


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