[ 
https://issues.apache.org/jira/browse/SOLR-17947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18036642#comment-18036642
 ] 

David Smiley commented on SOLR-17947:
-------------------------------------

In my view, CloudSolrClient should never block a request simply because of a 
stale cache entry.  Even no cache entry -- it can send it to any node 
arbitrarily (with consideration of node roles).  _In the background_ it can 
keep its caches up-to-date.

> CloudSolrClient async state refresh
> -----------------------------------
>
>                 Key: SOLR-17947
>                 URL: https://issues.apache.org/jira/browse/SOLR-17947
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, SolrJ
>    Affects Versions: 9.9
>            Reporter: Mark Robert Miller
>            Assignee: Mark Robert Miller
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> * replace striped locks with single-flight cache refresh futures to stop 
> thundering herd
>  * keep stale entries usable while background refresh runs, update retry 
> semantics accordingly



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to