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

calculate ancient slot boundary correctly for hash calc #2444

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

jeffwashington
Copy link

@jeffwashington jeffwashington commented Aug 5, 2024

Problem

When calculating hash of all accounts, we gather stats about ancient storages.
The boundary used to report stats on was incorrect when we are packing, which is the default now.
As a result, some stats were 0 because we were looking at the ancient boundary as None even when we were skipping rewrites and obviously had ancient storages and slots.

Summary of Changes

Use the correct boundary for stats purposes.

Fixes #

Copy link

@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.

:shipit:

@jeffwashington jeffwashington merged commit 4e5af1e into anza-xyz:master Aug 5, 2024
40 checks passed
Copy link

@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!

ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 2024
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