Compact more when pruning states (#6667)

* Compact more when pruning states

* Merge branch 'release-v6.0.1' into compact-more
This commit is contained in:
Michael Sproul
2024-12-14 19:43:00 +11:00
committed by GitHub
parent 775fa6730b
commit f3b78889e5
2 changed files with 42 additions and 2 deletions

View File

@@ -152,7 +152,7 @@ pub fn delete_old_schema_freezer_data<T: BeaconChainTypes>(
db.cold_db.do_atomically(cold_ops)?;
// In order to reclaim space, we need to compact the freezer DB as well.
db.cold_db.compact()?;
db.compact_freezer()?;
Ok(())
}