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

ancient shrink on its own cadence #33712

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

jeffwashington
Copy link
Contributor

Problem

Previously ancient shrink was run when shrink ran.
The code in accounts background service ended up running ancient shrink every 100ms in some cases. This is very inefficient.

Summary of Changes

Run ancient shrink on roughly the same cadence as clean. Also, run ancient shrink prior to creating a snapshot.

Fixes #

@codecov
Copy link

codecov bot commented Oct 16, 2023

Codecov Report

Merging #33712 (05c54b5) into master (167dac2) will decrease coverage by 0.1%.
The diff coverage is 0.0%.

@@            Coverage Diff            @@
##           master   #33712     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%     
=========================================
  Files         806      806             
  Lines      217867   217872      +5     
=========================================
- Hits       178260   178246     -14     
- Misses      39607    39626     +19     

@jeffwashington jeffwashington marked this pull request as ready for review October 16, 2023 16:41
Copy link
Contributor

@brooksprumo brooksprumo 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 d948e5b into solana-labs:master Oct 16, 2023
36 of 37 checks passed
jeffwashington added a commit to jeffwashington/solana that referenced this pull request Oct 16, 2023
@jeffwashington jeffwashington added the v1.17 PRs that should be backported to v1.17 label Nov 14, 2023
mergify bot pushed a commit that referenced this pull request Nov 14, 2023
jeffwashington added a commit that referenced this pull request Nov 17, 2023
ancient shrink on its own cadence (#33712)

(cherry picked from commit d948e5b)

Co-authored-by: Jeff Washington (jwash) <jeff.washington@solana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.17 PRs that should be backported to v1.17
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants