[
https://issues.apache.org/jira/browse/SOLR-6217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048172#comment-14048172
]
Alan Woodward commented on SOLR-6217:
-------------------------------------
This causes loads of tests to fail currently, because TestHarness expects cores
to be available immediately.
> Load cores asynchronously on init
> ---------------------------------
>
> Key: SOLR-6217
> URL: https://issues.apache.org/jira/browse/SOLR-6217
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Attachments: SOLR-6217.patch
>
>
> At the moment, we load cores in a threadpool in CoreContainer.init(), but
> then wait for all cores to load before we register them in ZK and return.
> This has two drawbacks:
> 1) SolrDispatchFilter isn't fully initialised until all the cores are loaded,
> which means that we can still have cores registered in ZK that can't accept
> HTTP connections
> 2) One slow-loading core will slow down all cores in the node.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]