Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for block size in filesystem store for eviction purposes #661

Merged
merged 1 commit into from
Feb 16, 2024

Commits on Feb 16, 2024

  1. Account for block size in filesystem store for eviction purposes

    - 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
    zbirenbaum committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    235613a View commit details
    Browse the repository at this point in the history