mirror of https://github.com/apache/lucene.git
SOLR-9867: make sure cores are assigned in the end of SolrDispatchFilter.createCoreContainer() only
This commit is contained in:
parent
32b7791fa8
commit
30f1422ba9
|
@ -333,7 +333,7 @@ Other Changes
|
|||
* SOLR-10519: SolrCLI.atPath cannot handle children that begin with a slash. (Erick Erickson)
|
||||
|
||||
* SOLR-9867: Adding isLoading=true as core status. Fixing start after stop scenario in bin/solr
|
||||
(Mikhail Khludnev)
|
||||
(Andrey Kudryavtsev, Mikhail Khludnev)
|
||||
|
||||
================== 6.5.1 ==================
|
||||
|
||||
|
|
|
@ -247,9 +247,9 @@ public class SolrDispatchFilter extends BaseSolrFilter {
|
|||
*/
|
||||
protected CoreContainer createCoreContainer(Path solrHome, Properties extraProperties) {
|
||||
NodeConfig nodeConfig = loadNodeConfig(solrHome, extraProperties);
|
||||
cores = new CoreContainer(nodeConfig, extraProperties, true);
|
||||
cores.load();
|
||||
return cores;
|
||||
CoreContainer coreContainer = new CoreContainer(nodeConfig, extraProperties, true);
|
||||
coreContainer.load();
|
||||
return coreContainer;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue