mirror of https://github.com/apache/lucene.git
SOLR-11177: CoreContainer.load needs to send lazily loaded core descriptors to the proper list rather than send them all to the transient lists.
This commit is contained in:
parent
432516a1fb
commit
bf168ad37e
|
@ -772,6 +772,9 @@ when using one of Exact*StatsCache (Mikhail Khludnev)
|
|||
|
||||
* SOLR-11198: downconfig downloads empty file as folder (Erick Erickson)
|
||||
|
||||
* SOLR-11177: CoreContainer.load needs to send lazily loaded core descriptors to the proper list rather than send
|
||||
them all to the transient lists. (Erick Erickson) (note, not in 7.0, is in 7.1)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
* SOLR-10634: JSON Facet API: When a field/terms facet will retrieve all buckets (i.e. limit:-1)
|
||||
|
|
|
@ -608,7 +608,7 @@ public class CoreContainer {
|
|||
|
||||
for (final CoreDescriptor cd : cds) {
|
||||
if (cd.isTransient() || !cd.isLoadOnStartup()) {
|
||||
solrCores.getTransientCacheHandler().addTransientDescriptor(cd.getName(), cd);
|
||||
solrCores.addCoreDescriptor(cd);
|
||||
} else if (asyncSolrCoreLoad) {
|
||||
solrCores.markCoreAsLoading(cd);
|
||||
}
|
||||
|
@ -845,7 +845,6 @@ public class CoreContainer {
|
|||
core.close();
|
||||
throw new IllegalStateException("This CoreContainer has been closed");
|
||||
}
|
||||
solrCores.addCoreDescriptor(cd);
|
||||
SolrCore old = solrCores.putCore(cd, core);
|
||||
/*
|
||||
* set both the name of the descriptor and the name of the
|
||||
|
|
Loading…
Reference in New Issue