-
Notifications
You must be signed in to change notification settings - Fork 589
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
c/features: Add license checks for schema_id_validation #11389
c/features: Add license checks for schema_id_validation #11389
Conversation
Signed-off-by: Ben Pope <[email protected]>
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
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. Let CI finish the new test before merge though.
if ( | ||
(fs.get_state() == features::feature_state::state::unavailable | ||
|| fs.get_state() == features::feature_state::state::available) | ||
&& ((fs.spec.available_rule | ||
== features::feature_spec::available_policy::always | ||
&& effective_version >= fs.spec.require_version) || ( | ||
fs.spec.available_rule == features::feature_spec::available_policy::new_clusters_only | ||
&& | ||
original_version >= fs.spec.require_version | ||
))) { | ||
if ((fs.get_state() == features::feature_state::state::unavailable || | ||
fs.get_state() == features::feature_state::state::available) && | ||
((fs.spec.available_rule == | ||
features::feature_spec::available_policy::always && | ||
effective_version >= fs.spec.require_version) || | ||
(fs.spec.available_rule == | ||
features::feature_spec::available_policy::new_clusters_only && | ||
original_version >= fs.spec.require_version))) { |
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.
@BenPope @michael-redpanda did this condition change in more ways than formatting? i don't quite trust my mental parsing...
Add license checks for schema_id_validation
Fixes #11132
Backports Required
Release Notes