-
Notifications
You must be signed in to change notification settings - Fork 3.8k
CASSANDRA-17017 Add required -f option to nodetool verify #1246
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
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.
Make this the testDefaultCall() method better to avoid duplicate code?
CHANGES.txt
Outdated
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.
Should add sstableverify here as well now?
ec7b78e to
9a89782
Compare
Patch by Josh McKenzie; reviewed by Marcus Eriksson, Berenguer Blasi, and Caleb Rackliffe for CASSANDRA-17017 Co-authored by Josh McKenzie <jmckenzie@apache.org> Co-authored by Chris Lohfink <clohfink@apple.com>
8f7d32c to
772d305
Compare
|
|
||
| String[] args = cmd.getArgs(); | ||
| if (args.length != 2) | ||
| if (args.length < 2) |
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.
Does this change buy you anything?
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.
Arguably neutral. It's vestigial from when I had force as a positional argument rather than a - flagged optional and was tinkering a bit, and I ended up leaving it because I liked it a touch more. We could go back to != 2 and ternary if you have strong feelings about it.
…oup of SAI expressions (apache#1246) NEQ is unhandled in this switch, leading to a NPE under certain query conditions where an Expression is created and no operation is set for this expression.
…oup of SAI expressions (apache#1246) NEQ is unhandled in this switch, leading to a NPE under certain query conditions where an Expression is created and no operation is set for this expression.
…oup of SAI expressions (apache#1246) NEQ is unhandled in this switch, leading to a NPE under certain query conditions where an Expression is created and no operation is set for this expression.
Patch by Chris Lohfink; reviewed by Marcus Eriksson and xxxx for CASSANDRA-17017
Co-authored by Chris Lohfink clohfink@apple.com
Co-authored by Josh McKenzie jmckenzie@apache.org