solana/core
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 Add validator argument log_messages_bytes_limit to change log truncation limit. 2022-07-11 10:53:18 -05:00
src Delete files older than the lowest_cleanup_slot in LedgerCleanupService::cleanup_ledger (#26651) 2022-08-09 00:48:06 +08:00
tests Refactor: Add `RuntimeConfig` field to Bank (#26946) 2022-08-05 20:49:00 +01:00
.gitignore
Cargo.toml Bump version to v1.12 (#26967) 2022-08-06 13:20:30 -05:00
build.rs Remove frozen ABI modules from solana-sdk 2020-10-20 16:11:30 -07:00