Apache Lucene open-source search software
SOLR-7955: making it easy to commit to branch_6x
Noble Paul3e44928f490c
diff --git a/solr/core/src/java/org/apache/solr/servlet/HttpSolrCall.java b/solr/core/src/java/org/apache/solr/servlet/HttpSolrCall.javaindex 521c7bb1adf..ef0eb13329b 100644--- a/solr/core/src/java/org/apache/solr/servlet/HttpSolrCall.java+++ b/solr/core/src/java/org/apache/solr/servlet/HttpSolrCall.java@@ -303,7 +303,7 @@ public class HttpSolrCall {extractRemotePath(corename, origCorename, idx);if (action != null) return;//core is not available locally or remotely- autoCreateSystemColl();+ autoCreateSystemColl(corename);if(action != null) return;}@@ -340,7 +340,7 @@ public class HttpSolrCall {action = PASSTHROUGH;}- protected void autoCreateSystemColl() throws Exception {+ protected void autoCreateSystemColl(String corename) throws Exception {if (SYSTEM_COLL.equals(corename) && "POST".equals(req.getMethod()) && !cores.getZkController().getClusterState().hasCollection(SYSTEM_COLL)) {log.info("Going to auto-create .system collection");SolrQueryResponse rsp = new SolrQueryResponse();