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

hash-cache-tool: Adds command to diff state #2505

Merged

Conversation

brooksprumo
Copy link

@brooksprumo brooksprumo commented Aug 8, 2024

Problem

The hash cache tool cannot diff the final state of the accounts hash cache directories.

Summary of Changes

Adds command to diff state.

@brooksprumo brooksprumo self-assigned this Aug 8, 2024
@brooksprumo brooksprumo force-pushed the hash-cache-tool/diff-state/impl branch from a3d6cb3 to 9ac7447 Compare August 8, 2024 20:10
@brooksprumo brooksprumo marked this pull request as ready for review August 8, 2024 20:49
.takes_value(true)
.value_name("PATH2")
.help("Accounts hash cache directory 2 to diff"),
),
Copy link

Choose a reason for hiding this comment

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

https://anza-xyz.slack.com/archives/C0735T9CVPU/p1722644231493859?thread_ts=1722614955.216019&cid=C0735T9CVPU

Maybe add an optional sub-arg for bin-range to extract?
default to all bin-range.

Copy link
Author

Choose a reason for hiding this comment

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

Yeah that should be possible. Can that be a follow up PR? Can also add a cli arg for the number of bins.

Copy link

Choose a reason for hiding this comment

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

Yeah, we can do it as a follow up PR.

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.

@brooksprumo brooksprumo merged commit 8b95e7d into anza-xyz:master Aug 9, 2024
52 checks passed
@brooksprumo brooksprumo deleted the hash-cache-tool/diff-state/impl branch August 9, 2024 13:36
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.

2 participants