Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.10.4, 5.5.3, 6.2.1
Description
All search requests in SolrCloud are distributed two-phase requests by default but Solr short-circuits it to the local replica/core if the collection has numShards=1 and the local replica/core is active.
But if the request happens to land on a replica which isn't active, the short-circuiting doesn't happen and the local replica/core which isn't active becomes the aggregator for a proper two-phase distributed request. If the search components involved in the request do not support distributed search then you can have weird results in such cases. This behavior is very surprising because most of the times queries are short circuited and behave as if they were non-distrib queries.
We could either:
- Forward the request to some other node entirely or
- Make a call with distrib=false to another node