[
https://issues.apache.org/jira/browse/SOLR-17578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Salagnac reassigned SOLR-17578:
--------------------------------------
Assignee: Pierre Salagnac
> 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: 10m
> 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]