Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some ancient stats #33791

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

jeffwashington
Copy link
Contributor

@jeffwashington jeffwashington commented Oct 20, 2023

Problem

When we disable rewrites, we will accumulate old append vecs & slots. We use ancient append vec packing to combine those. Some stats could use some love.

Summary of Changes

add, remove, and update stats better for ancient packing.

Sample output:

num_slots_shrunk=3
bytes_ancient_created=3,584,440,968

Fixes #

@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #33791 (4dc1226) into master (c98c24b) will increase coverage by 0.0%.
Report is 5 commits behind head on master.
The diff coverage is 96.2%.

@@           Coverage Diff           @@
##           master   #33791   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         806      806           
  Lines      218058   218071   +13     
=======================================
+ Hits       178415   178441   +26     
+ Misses      39643    39630   -13     

@jeffwashington jeffwashington marked this pull request as ready for review October 20, 2023 22:02
Copy link
Contributor

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jeffwashington jeffwashington merged commit a41b24f into solana-labs:master Oct 23, 2023
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants