Skip to content

Apache Lucene open-source search software

Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr

Cao Manh Dat34c176da2971
diff --cc solr/CHANGES.txt
index 0d61cc24c6c,f3382cab3d9..928d37fcf89
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@@ -174,10 -222,11 +222,13 @@@ Optimization
* SOLR-10285: Skip LEADER messages when there are leader only shards (Cao Manh Dat, Joshua Humphries)
+* SOLR-11424: When legacyCloud=false, cores should not publish itself as DOWN on startup. (Cao Manh Dat)
+
Other Changes
----------------------
+ * SOLR-10643: Throttling strategy for triggers and policy executions. (shalin)
+
+ * SOLR-10764: AutoScalingHandler should validate policy and preferences before updating zookeeper. (shalin)
* SOLR-10827: Factor out abstract FilteringSolrMetricReporter class. (Christine Poerschke)
diff --cc solr/core/src/java/org/apache/solr/core/CoreContainer.java
index 4467bc03ba4,dd9e5923446..c3ce0ed4011
--- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java
+++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java
@@@ -1018,10 -1024,10 +1024,10 @@@ public class CoreContainer
MDCLoggingContext.setCoreDescriptor(this, dcore);
SolrIdentifierValidator.validateCoreName(dcore.getName());
if (zkSys.getZkController() != null) {
- zkSys.getZkController().preRegister(dcore);
+ zkSys.getZkController().preRegister(dcore, publishState);
}
- ConfigSet coreConfig = coreConfigService.getConfig(dcore);
+ ConfigSet coreConfig = getConfigSet(dcore);
dcore.setConfigSetTrusted(coreConfig.isTrusted());
log.info("Creating SolrCore '{}' using configuration from {}, trusted={}", dcore.getName(), coreConfig.getName(), dcore.isConfigSetTrusted());
try {