Hi Luke,

I have partial answers...

On Wed, Feb 26, 2025 at 2:34 PM Luke Kot-Zaniewski (BLOOMBERG/ 919 3RD A) <
lkotzanie...@bloomberg.net> wrote:

> 1. Is our proposed patch a reasonable solution, or are we overlooking
> other critical factors?
>

Your proposal at least sounds safe / low risk.  Hopefully others with
experience in the scenario you describe may pipe in.

I'd like to take this opportunity to mention that a containerized service
(Solr or whatever) doesn't need to actually intrinsically support TLS at
all for you to get the benefits of TLS.  Especially if you're interested in
mTLS.  You can get there by embracing a Istio Service Mesh:
https://istio.io/latest/about/service-mesh/ It side steps Solr's TLS
aspects, and ultimately simplifies and harmonizes everything, especially in
the bigger picture with multiple services.  It's invisible to services on
the mesh.


> 2. Is it generally advisable to co-locate multiple collections on the same
> Solr processes? Beyond this limited corner case, we understand there may be
> bigger potential problems of such a set-up. For instance, non-forward
> compatible Lucene codec upgrades (e.g., older tlogs attempting to read
> segments written with newer codecs) can prove problematic.
>

There's no concern of mixing collections for the same node; we (Salesforce)
run with crazy numbers, albeit with some Solr hacks but you can get to
single digit thousands without much problem in pure SolrCloud.

The codec upgrade issue is a nuisance for an in-place upgrade.  Some noisy
logs / errors, a temporary loss of indexing ability, but that's it.  We
went through this across hundreds of clusters in-place and nothing
persisted past the rolling restart or stopped the rolling restart.  Ideally
Solr would be version-aware in its leadership choice.  Oh, how I wish to
change the shard leadership code.

~ David

Reply via email to