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

Adds --no-snapshots to disable generating snapshots #4836

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

brooksprumo
Copy link

@brooksprumo brooksprumo commented Feb 6, 2025

Problem

Node operators sometimes are confused on how to disable snapshots.

Summary of Changes

Add --no-snapshots to make it obvious.

@brooksprumo brooksprumo self-assigned this Feb 6, 2025
@brooksprumo brooksprumo marked this pull request as ready for review February 6, 2025 20:58
HaoranYi
HaoranYi previously approved these changes Feb 10, 2025
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.

Looks good to me.

For other reviewers, I suggest reviewing this PR with "Hide whitespace changes" enabled.

steviez
steviez previously approved these changes Feb 10, 2025
Copy link

@steviez steviez left a comment

Choose a reason for hiding this comment

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

LGTM and should be a little less confusing than the sentinel value for operators

@brooksprumo brooksprumo added the v2.2 Backport to v2.2 branch label Feb 10, 2025
Copy link

mergify bot commented Feb 11, 2025

Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis.

Copy link

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

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

couple docs nits. hopefully this doesn't fuck over snapshot availability

validator/src/commands/run/args.rs Outdated Show resolved Hide resolved
validator/src/commands/run/args.rs Outdated Show resolved Hide resolved
validator/src/commands/run/execute.rs Outdated Show resolved Hide resolved
@brooksprumo
Copy link
Author

@t-nelson If we're worried about this cli arg making snapshot availability worse, should I just abandon this PR?

@brooksprumo brooksprumo dismissed stale reviews from steviez and HaoranYi via 826c363 February 12, 2025 02:44
@brooksprumo brooksprumo removed the v2.2 Backport to v2.2 branch label Feb 12, 2025
@brooksprumo brooksprumo requested a review from t-nelson February 12, 2025 02:54
@brooksprumo
Copy link
Author

Rebased and force-pushed to pick up #4944, which fixes the windows CI.

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.

4 participants