diff --git a/accounts-db/src/accounts_db.rs b/accounts-db/src/accounts_db.rs index d7f1d91f0b7468..1e3b41f954b2ab 100644 --- a/accounts-db/src/accounts_db.rs +++ b/accounts-db/src/accounts_db.rs @@ -7562,6 +7562,8 @@ impl AccountsDb { true } + /// Determines whether a given AccountStorageEntry instance is a + /// candidate for shrinking. pub(crate) fn is_candidate_for_shrink(&self, store: &AccountStorageEntry) -> bool { // appended ancient append vecs should not be shrunk by the normal shrink codepath. // It is not possible to identify ancient append vecs when we pack, so no check for ancient when we are not appending.