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

Added readiness support in server health-check #351

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

merlimat
Copy link
Collaborator

The oxia server should not considered to be "ready" to be put in the load-balancer rotation for service discovery until it has received the shards mapping from the coordinator. This can happen 10s of seconds after restarting a storage pod.

Added gRPC service oxia-readiness that can be probed from K8S readiness probe, so that we don't get a client to ask for service discovery to a pod that does not have that information yet.

@mattisonchao mattisonchao merged commit b02c989 into streamnative:main Jun 12, 2023
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