-
Notifications
You must be signed in to change notification settings - Fork 602
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
config
: remove shard_local_cfg
checks for tombstone_retention_ms
validator
#24987
base: dev
Are you sure you want to change the base?
config
: remove shard_local_cfg
checks for tombstone_retention_ms
validator
#24987
Conversation
These checks are invalid, as cluster config changes are applied one by one. A user could edit multiple properties at once to a valid state, and be caught by this attempted validation with an outdated value in the `shard_local_cfg()`. Multi-property validation of this cluster property is already handled in `server.cc`, see `config_multi_property_validation()`.
CI test resultstest results on build#61414
|
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.
Makes sense. The only way to update a cluster config is through the admin endpoint, right? So we're guaranteed to hit config_multi_property_validation?
same question. i think so, but what about on cluster create? i was thinking that an initial configuration file could be loaded directly (ie |
One could directly edit the
Cluster properties should be ignored in the file specified by There are still some sanity checks for getting the value of |
These checks are invalid, as cluster config changes are applied one by one. A user could edit multiple properties at once to a valid state, and be caught by this attempted validation with an outdated value in the
shard_local_cfg()
.Multi-property validation of this cluster property is already handled in
server.cc
, seeconfig_multi_property_validation()
.Backports Required
Release Notes