Solr has an API called the "PingRequestHandler"
(/solr/<coreName>/admin/ping).  This API is meant to serve as a
load-balancer healthcheck, but it has a few surprising quirks.  Most
significantly it operates at the core level rather than the
node-level, so it requires load-balancers be aware of Solr's topology
to some extent (which of course, very few off-the-shelf load balancers
are.)

In my experience, PingRequestHandler has long been superseded by less
idiosyncratic alternatives like the HealthcheckHandler or even the
SystemInfoHandler.

**I propose we deprecate PingRequestHandler in 10.x and remove in
11**, unless there's a compelling use-case that someone can bring to
our attention.  Not only is it needless maintenance burden, but
PingRequestHandler also has some security baggage (i.e. "qt" usage)
that makes it slightly risky to keep around if it's not providing
value.

Absent any use-cases for it that I'm not seeing currently, I'll create
a ticket for this in a few days and start working towards
deprecation+removal.  Let me know what you guys think!  Does anyone
here use PingRequestHandler in a way that couldn't be replaced by
HealthcheckHandler or normal querying?

Best,

Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to