Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Account for block size in filesystem store for eviction purposes (#661)
- eviction_store will now treat FileEntries as if they consume the worst case amount of space on disk based on block size to prevent out of space errors. Prior behavior can be restored by setting `"block_size": 1` under filesystem in configuration file - Add `FileEntry::size_on_disk` - worst case disk space consumed by entry - Add test cases to `filesystem_store_test` ensuring correct `size_on_disk` - Add field in filesystem config for setting block size
- Loading branch information
1 parent
f8044e6
commit 0639a59
Showing
3 changed files
with
123 additions
and
29 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