mirror of https://github.com/apache/lucene.git
SOLR-7502: start script should not try to create config set for .system collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678208 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3e20086499
commit
32d8a07281
|
@ -244,6 +244,8 @@ Bug Fixes
|
|||
* SOLR-7494: Facet Module - unique() facet function was wildly inaccurate for high cardinality
|
||||
fields. (Andy Crossen, yonik)
|
||||
|
||||
* SOLR-7502: start script should not try to create configset for .system collection (Noble Paul)
|
||||
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
|
|
@ -1199,7 +1199,9 @@ public class SolrCLI {
|
|||
boolean configExistsInZk =
|
||||
cloudSolrClient.getZkStateReader().getZkClient().exists("/configs/"+confname, true);
|
||||
|
||||
if (configExistsInZk) {
|
||||
if (".system".equals(collectionName)) {
|
||||
//do nothing
|
||||
} else if (configExistsInZk) {
|
||||
System.out.println("Re-using existing configuration directory "+confname);
|
||||
} else {
|
||||
String configSet = cli.getOptionValue("confdir", DEFAULT_CONFIG_SET);
|
||||
|
|
Loading…
Reference in New Issue