-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storagenode/retain: store bloomfilter on disk
The filewalker generally is very likely to never complete a full scan of all the satellite blobs directories on very large nodes. For GC, this leaves a lot of trash files on the node, instead of freeing up the space for more uploads. And when the node is restarted the bloomfilter is lost, and the node would have to wait for the satellite to send another bloomfilter. In this patch, we store the bloomfilter on the disk for each request and load them on restart and add them to the retain queue so GC filewalker can process them. Updates #6725 Change-Id: I6455473470b22d128ebed3bbf46e76f2538e0485
- Loading branch information
Showing
8 changed files
with
567 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.