Skip to content
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

[v24.2.x] cluster: don't apply invalid property change in topic_table #23223

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #23191

We check that the updated topic properties post
`topic_table::apply(update_topic_properties_cmd)` is valid with the
`schema_id_validation_validator`. However, this early `co_return` with an
error code does not actually prevent the invalid configuration from being
persisted in the `topic_table`.

Rework the logic in `topic_table::apply()` to prevent persisting of an invalid
configuration.

(cherry picked from commit 3a36f7a)
To ensure updates made from invalid `update_topic_properties_cmd` are not
persisted in `topic_properties`.

(cherry picked from commit 6da3157)
@vbotbuildovich vbotbuildovich added this to the v24.2.x-next milestone Sep 6, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Sep 6, 2024
@piyushredpanda piyushredpanda merged commit 424451e into redpanda-data:v24.2.x Sep 7, 2024
19 checks passed
@BenPope BenPope modified the milestones: v24.2.x-next, v24.2.5 Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants