[
https://issues.apache.org/jira/browse/SOLR-17921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021891#comment-18021891
]
ASF subversion and git services commented on SOLR-17921:
--------------------------------------------------------
Commit f7aae7b6b8dfe70506ab87a9f5e747a4cca13b10 in solr's branch
refs/heads/branch_9x from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=f7aae7b6b8d ]
SOLR-17921: Prefetch liveNodes in BaseHttpClusterStateProvider (#3673)
(cherry picked from commit 5c47042148d817cb0242ae24b2f540e0af2b05d1)
> BaseHttpClusterStateProvider should prefetch refreshes of liveNodes
> -------------------------------------------------------------------
>
> Key: SOLR-17921
> URL: https://issues.apache.org/jira/browse/SOLR-17921
> Project: Solr
> Issue Type: New Feature
> Components: SolrJ
> Reporter: Houston Putman
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently the BaseHttpClusterStateProvider synchronously updates the
> liveNodes when a request comes in and the cached liveNodes has expired. There
> should be an asynchronous re-fetching of this data so that requests are not
> blocked after expiration.
> Also the getLiveNodes() method was made synchronized in SOLR-17607, which is
> very expensive for multiThreaded solrJ applications, as getLiveNodes() is
> called very often. So that needs to be fixed to only block when the liveNodes
> need to be fetched.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]