Skip to content

waited for all pods ready during generated hashring initialization#138

Closed
christopherzli wants to merge 2 commits intoobservatorium:mainfrom
christopherzli:dev5
Closed

waited for all pods ready during generated hashring initialization#138
christopherzli wants to merge 2 commits intoobservatorium:mainfrom
christopherzli:dev5

Conversation

@christopherzli
Copy link
Copy Markdown
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