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

etcdserver: add linearizable_read check to readyz. #16984

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

siyuanfoundation
Copy link
Contributor

@siyuanfoundation siyuanfoundation commented Nov 20, 2023

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

Follow up of #16792:

Because ReadIndex check requires non-trivial changes, it would be difficult to backport.
To unblock livez/readyz, a fallback to the old linearizable_read check would meet the MVP, the new livez/readyz checks would be no worse than the old /heath checks, and minimize the risk for backporting.

@siyuanfoundation
Copy link
Contributor Author

cc @chaochn47 @serathius @ahrtr

@serathius
Copy link
Member

cc @ahrtr

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM with one question

server/etcdserver/api/etcdhttp/health_test.go Outdated Show resolved Hide resolved
Signed-off-by: Siyuan Zhang <sizhang@google.com>
Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

lgtm

@ahrtr ahrtr merged commit fd0882b into etcd-io:main Nov 21, 2023
34 checks passed
@siyuanfoundation siyuanfoundation deleted the lin-read branch November 21, 2023 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants