Apache Solr open-source search software
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 Ericksonbf168ad37e43
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex d39a7f67185..3adc0a2eb0c 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -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)diff --git a/solr/core/src/java/org/apache/solr/core/CoreContainer.java b/solr/core/src/java/org/apache/solr/core/CoreContainer.javaindex 0b789f8fba4..6013b284ca5 100644--- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java+++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java@@ -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