Skip to content

Commit

Permalink
Add missing docummentation comment (#3292)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov authored Oct 23, 2024
1 parent c3db8a4 commit bae2fa1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bae2fa1

Please sign in to comment.