-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
scylla_raid_setup: make --online-discard argument useful #14964
scylla_raid_setup: make --online-discard argument useful #14964
Conversation
This argument was dead since its introduction and 'discard' was always configured regardless of its value. This patch allows actually configuring things using this argument. Fixes scylladb#14963
8f64a02
to
20fdffc
Compare
CI state |
@syuu1228 can you review? |
I couldn't find the output of the failed test. |
@roydahan is on PTO - I'm seeing https://jenkins.scylladb.com/job/scylla-master/job/scylla-ci/2906/testReport/junit/update_cluster_layout_tests/TestUpdateClusterLayout/Tests___Sanity_Tests___test_add_node_with_large_partition4/ as a failure, which may be https://github.com/scylladb/scylla-dtest/issues/3384 |
Got it. Thanks. |
This PR has no tests (is that intentional? we may want not to repeat past mistakes and test both true and false values?) |
This PR doesn't add a new feature, @mykaul. |
Actually I'd expect more tests from Engineering, not QA, for such basic functionality. Especially if you fix something which lacked tests in the past, it makes sense to add them now (random example I've just seen - https://github.com/scylladb/scylla-enterprise/pull/3252 ) |
I agree, Engineering should definitely own that. |
@vladzcloudius what about master and |
@tarzanek you are confusing the |
@syuu1228 - can you please review this? |
How about to change the option for disabling discard, using
It will work like this:
Or, if we can't change option name due to keep compatibility, how about to use
It will work like this:
|
Exactly. We can't.
My PR supersedes your It allows all following usages:
|
Okay, I agree your PR is more flexible than |
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.
LGTM
This argument was dead since its introduction and 'discard' was always configured regardless of its value. This patch allows actually configuring things using this argument. Fixes scylladb#14963 Closes scylladb#14964
This argument was dead since its introduction and 'discard' was always configured regardless of its value. This patch allows actually configuring things using this argument. Fixes scylladb#14963 Closes scylladb#14964
This argument was dead since its introduction and 'discard' was always configured regardless of its value.
This patch allows actually configuring things using this argument.
Fixes #14963