[
https://issues.apache.org/jira/browse/SOLR-17578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904755#comment-17904755
]
ASF subversion and git services commented on SOLR-17578:
--------------------------------------------------------
Commit b2f8b109dd7819708eb41066c679e4c9e425e057 in solr's branch
refs/heads/main from Pierre Salagnac
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=b2f8b109dd7 ]
SOLR-17578: Remove ZkController internal core supplier. (#2891)
> Remove ZkController internal core supplier
> ------------------------------------------
>
> Key: SOLR-17578
> URL: https://issues.apache.org/jira/browse/SOLR-17578
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Reporter: Pierre Salagnac
> Assignee: Pierre Salagnac
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When reestablishing Zookeeper session after expiration, Solr has to
> re-register all cores to Zookeeper (join leader election...).
> Currently, code is bloated and iterates over all cores instances just to get
> the name and metadata (CoreDescriptor).
> Proposal is to remove the core supplier and just call
> {{CoreContainer.getCoreDescriptors()}} for such iterations. Iteration will be
> slightly more efficient.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]