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

http: set consistency header properly for health endpoint #10189

Merged
merged 1 commit into from
May 6, 2021

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented May 5, 2021

A recent change in 1.9.x inverted the order of these two lines, which caused the X-Consul-Effective-Consistency header to be missing for the service health endpoints.

@dnephin dnephin added type/bug Feature does not function as expected backport/1.9 labels May 5, 2021
@github-actions github-actions bot added the theme/health-checks Health Check functionality label May 5, 2021
@dnephin dnephin force-pushed the dnephin/http-api-health-query-meta branch from 4a09415 to f8260f8 Compare May 5, 2021 18:28
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging May 5, 2021 18:28 Inactive
@vercel vercel bot temporarily deployed to Preview – consul May 5, 2021 18:28 Inactive
A recent change in 1.9.x inverted the order of these two lines, which caused the
X-Consul-Effective-Consistency header to be missing for the servie health endpoints
@dnephin dnephin force-pushed the dnephin/http-api-health-query-meta branch from f8260f8 to 0575ca6 Compare May 6, 2021 17:19
@vercel vercel bot temporarily deployed to Preview – consul May 6, 2021 17:19 Inactive
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging May 6, 2021 17:19 Inactive
Copy link
Contributor

@jsosulska jsosulska left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for catching this!

Copy link
Member

@rboyer rboyer left a comment

Choose a reason for hiding this comment

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

LGTM

@dnephin dnephin merged commit 850c6e5 into master May 6, 2021
@dnephin dnephin deleted the dnephin/http-api-health-query-meta branch May 6, 2021 18:05
@hc-github-team-consul-core
Copy link
Collaborator

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/364305.

@hc-github-team-consul-core
Copy link
Collaborator

🍒❌ Cherry pick of commit 850c6e5 onto release/1.10.x failed! Build Log

@hc-github-team-consul-core
Copy link
Collaborator

🍒✅ Cherry pick of commit 850c6e5 onto release/1.9.x succeeded!

hc-github-team-consul-core pushed a commit that referenced this pull request May 6, 2021
…y-meta

http: set consistency header properly for health endpoint
@hc-github-team-consul-core
Copy link
Collaborator

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/364425.

@hc-github-team-consul-core
Copy link
Collaborator

🍒✅ Cherry pick of commit 850c6e5 onto release/1.10.x succeeded!

hc-github-team-consul-core pushed a commit that referenced this pull request May 6, 2021
…y-meta

http: set consistency header properly for health endpoint
@hc-github-team-consul-core
Copy link
Collaborator

🍒❌ Cherry pick of commit 850c6e5 onto release/1.9.x failed! Build Log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/health-checks Health Check functionality type/bug Feature does not function as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants