Skip to content

Commit

Permalink
fix trace to be more helpful (#2417)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwashington authored Aug 2, 2024
1 parent fb80e48 commit ee290ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7778,10 +7778,11 @@ impl AccountsDb {

if Self::should_not_shrink(alive_bytes, total_bytes) {
trace!(
"shrink_slot_forced ({}): not able to shrink at all: alive/stored: {} ({}b / {}b) save: {}",
"shrink_slot_forced ({}): not able to shrink at all: alive/stored: {}/{} ({}b / {}b) save: {}",
slot,
alive_count,
stored_count,
alive_bytes,
total_bytes,
total_bytes.saturating_sub(alive_bytes),
);
Expand Down

0 comments on commit ee290ef

Please sign in to comment.