Expand description
Feature-finalization admission for one UpdateFeatures row.
The decision follows Kafka 4.3.1’s FeatureControlManager.updateFeature
check for check: the upgrade type, a negative level, every node’s support
(reasonNotSupported), the update direction against the current level
(an unfinalized feature reads as level 0), and then the per-feature tail:
updateMetadataVersion’s didMetadataChange refusal for
metadata.version, the no-downgrade rule for kraft.version, and
Feature.validateVersion’s KIP-1022 dependencies for every other feature.
Structs§
- Feature
Levels - The levels one feature row compares.
- Feature
Update Facts - Everything one
UpdateFeaturesrow is decided on.
Enums§
- Feature
Kind - Which branch of
updateFeaturedecides the row after the shared checks, with the one fact that branch reads. - Feature
Update Decision - The first failed rule, or what an admitted row does.
- Feature
Update Type - KIP-584
FeatureUpdate.UpgradeType, decoded from the request.
Functions§
- feature_
update_ decision - Decide one feature row from the host’s facts.