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

Uses hex for the hash in accounts hash cache file names #33196

Conversation

brooksprumo
Copy link
Contributor

@brooksprumo brooksprumo commented Sep 8, 2023

Problem

The hash part of the file name for accounts hash cache paths could be more aesthetically pleasing.

Summary of Changes

Use hex for the hash in the file name for an accounts hash cache path.

Note, since #33164 has merged, any validator will rebuild their accounts hash cache already, so now's the perfect time to rename the hash files.

Further, any mnb/testnet/devnet node running a v1.16 release will (should) see the backport of #33164 and the backport of this PR in the same future release, which solidifies the above point as well.

@brooksprumo brooksprumo self-assigned this Sep 8, 2023
@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Merging #33196 (ced51b6) into master (528a03f) will decrease coverage by 0.1%.
Report is 23 commits behind head on master.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #33196     +/-   ##
=========================================
- Coverage    82.1%    82.1%   -0.1%     
=========================================
  Files         785      785             
  Lines      211205   211205             
=========================================
- Hits       173444   173405     -39     
- Misses      37761    37800     +39     

@brooksprumo brooksprumo added the v1.16 PRs that should be backported to v1.16 label Sep 11, 2023
@brooksprumo brooksprumo marked this pull request as ready for review September 12, 2023 14:58
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

@brooksprumo brooksprumo merged commit 21e7f98 into solana-labs:master Sep 12, 2023
@brooksprumo brooksprumo deleted the accounts-hash-cache/hex-hash-file-name branch September 12, 2023 15:26
mergify bot pushed a commit that referenced this pull request Sep 12, 2023
brooksprumo added a commit that referenced this pull request Sep 13, 2023
brooksprumo added a commit that referenced this pull request Sep 15, 2023
…ort of #33196) (#33223)

(cherry picked from commit 21e7f98)

Co-authored-by: Brooks <brooks@solana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.16 PRs that should be backported to v1.16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants