-
Notifications
You must be signed in to change notification settings - Fork 552
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
cluster/config_manager: protect cfg.get() behind cfg.contains() #15840
Merged
andijcr
merged 3 commits into
redpanda-data:dev
from
andijcr:fix/dev/cfg_unchecked_test
Dec 22, 2023
Merged
cluster/config_manager: protect cfg.get() behind cfg.contains() #15840
andijcr
merged 3 commits into
redpanda-data:dev
from
andijcr:fix/dev/cfg_unchecked_test
Dec 22, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 tasks
/dt |
nvartolomei
previously approved these changes
Dec 21, 2023
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/43231#018c8d5f-4dfb-48df-91f7-1f528304122c |
cfg.get() can throw std::out_of_range if the name is not known by redpanda. this can be the case for unknown properties that nonetheless gets written to the controller log, and later loaded again during startup
andijcr
force-pushed
the
fix/dev/cfg_unchecked_test
branch
from
December 22, 2023 13:27
9005953
to
f891fd6
Compare
force push: ducktape test that triggers the issue |
nvartolomei
approved these changes
Dec 22, 2023
/backport v23.3.x |
/backport v23.2.x |
Failed to create a backport PR to v23.2.x branch. I tried:
|
This was referenced Dec 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
cfg.get() can throw std::out_of_range if the name is not known by redpanda.
this can be the case for unknown properties that nonetheless gets written to the controller log, and later loaded again during startup
Fixes #15839
Backports Required
Release Notes
Bug Fixes