You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2021/06/14 17:21:03 UTC

[GitHub] [bookkeeper] sursingh opened a new pull request #2739: Storage cleanup

sursingh opened a new pull request #2739:
URL: https://github.com/apache/bookkeeper/pull/2739


   ### Motivation
   
   While restoring a storage container, we fetch the checkpoint from the
   checkpoint store. Currently this checkpoint will never get cleaned up. Every
   time we restore the storage container on pod, a new checkpoint will get added.
   Over period of time the disk usage keeps going up and eventually we have to
   manually delete these stale checkpoints.
   
   ### Changes
   
   With this change, we will cleanup the local storage for a storage container
   whenever we close the KVStore. This will ensure that stale checkpoints are not
   left behind. It is possible that POD may restart before the cleanup can be
   done. To avoid these, we will also ensure that local storage for the storage
   container is cleaned up before we restore the storage container.
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] sursingh commented on pull request #2739: [statestore] Cleanup local storage for statestore storage container

Posted by GitBox <gi...@apache.org>.
sursingh commented on pull request #2739:
URL: https://github.com/apache/bookkeeper/pull/2739#issuecomment-860900712


   rerun failure checks
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [bookkeeper] sursingh commented on pull request #2739: [statestore] Cleanup local storage for statestore storage container

Posted by GitBox <gi...@apache.org>.
sursingh commented on pull request #2739:
URL: https://github.com/apache/bookkeeper/pull/2739#issuecomment-860912486


   rerun failure checks


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org