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

Fix bug in cluster block validation. #3707

Merged
merged 4 commits into from
Dec 14, 2022

Conversation

jordanschalm
Copy link
Member

This check was duplicated to before we verified existence of the reference block. This caused an empty collection with an unknown reference block to pass validation. This breaks an assumption about the cluster state and would cause an irrecoverable error to be thrown later.

This check was duplicated to before we verified existence of the
reference block. This caused an empty collection with an unknown
reference block to pass validition. This breaks an assumption about the
cluster state and would cause an irrecoverable error to be thrown later.
Copy link
Member

@durkmurder durkmurder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great !

@jordanschalm
Copy link
Member Author

bors merge

@bors bors bot merged commit 5aa247b into feature/active-pacemaker Dec 14, 2022
@bors bors bot deleted the jordan/cluster-ref-block-validation branch December 14, 2022 19:16
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants