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: CC config checksum should include generated config as well #805

Merged
merged 1 commit into from
May 2, 2022

Conversation

stoader
Copy link
Member

@stoader stoader commented May 2, 2022

Q A
Bug fix? yes
New feature? no
API breaks? no
Deprecations? no
Related tickets fixes #804
License Apache 2.0

What's in this PR?

Compute the configuration checksum annotation from the generated Cruise Control configuration which includes computed fields as well.

Why?

If computed configuration properties are left out from he checksum computation Cruise Control pod won't be restarted when only changes to computed configuration properties happen.

Checklist

  • Implementation tested
  • Error handling code meets the guideline
  • Logging code meets the guideline

@stoader stoader requested a review from a team as a code owner May 2, 2022 06:24
Copy link
Member

@pregnor pregnor left a comment

Choose a reason for hiding this comment

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

LGTM

@stoader stoader merged commit cffc6a0 into master May 2, 2022
@stoader stoader deleted the fix_cc_checksum branch May 2, 2022 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cruise Control doesn't pick up changes of computed configuration properties
3 participants