Skip to content

fix lbm hash change due to addition of proxy_url#432

Merged
maboehm merged 3 commits intomainfrom
fix-hash-change
Oct 31, 2024
Merged

fix lbm hash change due to addition of proxy_url#432
maboehm merged 3 commits intomainfrom
fix-hash-change

Conversation

@MichaelEischer
Copy link
Contributor

#427 added support for configuring a proxy_url for loki logs. However, this caused the lb hash to change and therefore unnecessarily roll all yawol LBs. The hash is calculated by hashing the json serialization of a part of the LB spec. As proxyUrl was not marked as omitempty this changed the serialized value even when proxyUrl was not set.

The hash is calculated by hashing the json serialization of a part of
the LB spec. As `proxyUrl` was not marked as omitempty, this changed the
serialized value even when proxyUrl was not set.
@maboehm maboehm merged commit 990916b into main Oct 31, 2024
@maboehm maboehm deleted the fix-hash-change branch October 31, 2024 12:36
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.

2 participants

Comments