Hi,

After upgrading from Solr 6.6.2 to 7.6.0, we're seeing an issue with
request routing in CloudSolrClient. It seems that we've lost the ability to
route a request to a specific core of a node.

For example, if a host is serving shard 1 core 1, and shard 2 core
1, @6.6.2, adding a "_route_=<value whose hash falls in shard 1 range>"
param was sufficient for CloudSolrClient to figure out the request should
go to shard 1 core 1, but @7.6.0, the request is routed to one of them
randomly.

It seems the core-level url resolution has been removed from
CloudSolrClient at commit e001f352895c83652c3cf31e3c724d29a46bb721 around
L1053, as part of SOLR-11444
<https://issues.apache.org/jira/browse/SOLR-11444>. The url the request is
sent to is now constructed only to the node level, and no longer to the
core level.

There's a related issue for this at SOLR-10695
<https://issues.apache.org/jira/browse/SOLR-10695>, and SOLR-9063
<https://issues.apache.org/jira/browse/SOLR-9063> but not quite the same.
Can somebody please advise what the new way to achieve this nowadays is?

Reply via email to