-
Notifications
You must be signed in to change notification settings - Fork 114
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
Support disruption free rolling restart #529
Comments
@janhoy we should also create a Solr JIRA issue for this, to fix Cloud-aware clients and internal shard requests. More info: We can fix this for simple use cases where users have clouds that all collections are single-sharded and each collection has a replica on all nodes. That way, Solr has no need to send the request to another node internally. In the meantime #530 is a great start. |
Sure, I can create one. Do you have a clear idea of how it would work? Now, SolrJ considers collection-state combined with |
Not a clear idea yet.
That would work, but I'm not sure we'd want to restrict it to just "draining". We might want to send requests elsewhere for other reasons too. |
As discussed in slack https://apachesolr.slack.com/archives/C022UMAPZ0V/p1676970790552379
When the operator restarts the cluster, e.g. during a version upgrade, there is no guarantee that a Solr POD is marked as not ready before
solr stop
is called. Thus clients may experience connection error during the restart.@HoustonPutman suggests we can implement a custom readiness gate https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-readiness-gate to control this better.
The text was updated successfully, but these errors were encountered: