misc. cleanup (#30295)

This commit is contained in:
Jeff Washington (jwash) 2023-02-14 14:00:13 -06:00 committed by GitHub
parent 27f18f96e8
commit b9b8cd9ccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -113,15 +113,6 @@ pub struct CalcAccountsHashConfig<'a> {
pub store_detailed_debug_info_on_failure: bool,
}
impl<'a> CalcAccountsHashConfig<'a> {
/// return true if we should cache accounts hash intermediate data between calls
pub fn get_should_cache_hash_data() -> bool {
// when we are skipping rewrites, we cannot rely on the cached data from old append vecs, so we have to disable caching for now
// skipping rewrites is not enabled in this branch. It requires a cli argument.
true
}
}
// smallest, 3 quartiles, largest, average
pub type StorageSizeQuartileStats = [usize; 6];