You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "gerlowskija (via GitHub)" <gi...@apache.org> on 2023/09/21 15:06:55 UTC
[GitHub] [solr-operator] gerlowskija opened a new pull request, #629: Use Solr node-healthcheck for probes
gerlowskija opened a new pull request, #629:
URL: https://github.com/apache/solr-operator/pull/629
Now that the operator expects Solr versions >=8.11, we can use Solr's /admin/info/health endpoint as our default liveness and readiness probes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] gerlowskija commented on pull request #629: Use Solr's /admin/info/health for pod readiness checks
Posted by "gerlowskija (via GitHub)" <gi...@apache.org>.
gerlowskija commented on PR #629:
URL: https://github.com/apache/solr-operator/pull/629#issuecomment-1739831303
Thinking on this a bit more, are we sure we want to use `/admin/info/health` for readiness probes?
Unlike the `/system`, `/health` will return an error on nodes with bad ZK connections and prevent them from receiving traffic if ZK goes down. That makes sense for lots of traffic like admin requests or updates - no point sending any of those requests to a SolrCloud node that has no ZK. But it'll block other traffic that would've succeeded too - like queries, which Solr can sometimes continue to serve even without ZK.
Overall I think the additional intelligence and fidelity that `/health` gives us as a readiness probe is worth this slight degradation in how we'd route traffic in response to a total catastrophe. Just wanted to call it out in case others disagree. I'll add a sentence or two documenting this aspect of things and then merge, but I'll leave this out here for a few more days to give folks a chance to chime in.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
Re: [PR] Use Solr's /admin/info/health for pod readiness checks [solr-operator]
Posted by "gerlowskija (via GitHub)" <gi...@apache.org>.
gerlowskija merged PR #629:
URL: https://github.com/apache/solr-operator/pull/629
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] gerlowskija commented on pull request #629: Use Solr's /admin/info/health for pod readiness checks
Posted by "gerlowskija (via GitHub)" <gi...@apache.org>.
gerlowskija commented on PR #629:
URL: https://github.com/apache/solr-operator/pull/629#issuecomment-1739465569
Ah, good call - done!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] gerlowskija commented on pull request #629: Use Solr node-healthcheck for probes
Posted by "gerlowskija (via GitHub)" <gi...@apache.org>.
gerlowskija commented on PR #629:
URL: https://github.com/apache/solr-operator/pull/629#issuecomment-1730166909
Ah ok, makes sense. I didn't realize there'd been some discussion around differentiating them - will take a second pass for that shortly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] HoustonPutman commented on pull request #629: Use Solr node-healthcheck for probes
Posted by "HoustonPutman (via GitHub)" <gi...@apache.org>.
HoustonPutman commented on PR #629:
URL: https://github.com/apache/solr-operator/pull/629#issuecomment-1729815185
Note, this is a part of #616
Also I think it would be good to keep the `/system` handler in use for the Liveness probe (since that says whether Solr is running or not), and use the `/health` handler for the Readiness probe. Some kubernetes environments like these probes to be different, and also I see a problem where Solr is restarted on GC pauses (causing ZK live node issues), when that would only make the problem worse. See #504 for some more information.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org