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
cli/debug: make ballast
unable to overwrite existing files
#59995
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r1.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @joshimhoff)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 4 of 4 files at r1.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @joshimhoff)
thanks! bors r=tbg,stevendanna |
Build failed: |
💯 |
Release note (backward-incompatible change): The `cockroach debug ballast` command now refuses to overwrite the target ballast file if it already exists. This change is intended to prevent mistaken uses of the `ballast` command by operators. Scripts that integrate `cockroach debug ballast` can consider adding a `rm` command.
that was a lint error bors r=tbg,stevendanna |
Build succeeded: |
Discussed in customer postmortem.
Release note (backward-incompatible change): The
cockroach debug ballast
command now refuses to overwrite the target ballast file ifit already exists. This change is intended to prevent mistaken uses of
the
ballast
command by operators. Scripts that integratecockroach debug ballast
can consider adding arm
command.