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

waited for all pods ready during generated hashring initialization #138

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

christopherzli
Copy link
Contributor

During the initial controller setup, we prefer to wait over all pods ready before generating hashring.
controller will wait for all pods ready before generating hashring for first time if using allow only read replicas.
if not all pods are ready, it will be no-op if not all pods are ready and replicas do not exist in the local controller.
This is to handle no replicas information stored in local controller after controller restarts, we should not do anything until the cluster is healthy.

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.

1 participant