solana/ledger
Yueh-Hsuan Chiang 99ef2184cc
Delete files older than the lowest_cleanup_slot in LedgerCleanupService::cleanup_ledger (#26651)
#### Problem
LedgerCleanupService requires compactions to propagate & digest range-delete tombstones
to eventually reclaim disk space.

#### Summary of Changes
This PR makes LedgerCleanupService::cleanup_ledger delete any file whose slot-range is
older than the lowest_cleanup_slot.  This allows us to reclaim disk space more often with
fewer IOps.  Experimental results on mainnet validators show that the PR can effectively
reduce 33% to 40% ledger disk size.
2022-08-09 00:48:06 +08:00
..
benches adds support for different variants of ShredCode and ShredData 2022-06-02 18:55:50 +00:00
src Delete files older than the lowest_cleanup_slot in LedgerCleanupService::cleanup_ledger (#26651) 2022-08-09 00:48:06 +08:00
tests maps number of data shreds to erasure batch size (#25917) 2022-06-23 13:27:54 +00:00
.gitignore
Cargo.toml Bump version to v1.12 (#26967) 2022-08-06 13:20:30 -05:00
build.rs