asalamon74 commented on a change in pull request #135:
URL: https://github.com/apache/solr/pull/135#discussion_r642301113
##########
File path: solr/core/src/java/org/apache/solr/cloud/ZkConfigSetService.java
##########
@@ -151,6 +151,19 @@ public boolean checkConfigExists(String configName) throws
IOException {
}
}
+ @Override
+ public boolean checkConfigExistsWithSolrConfigXml(String configName) throws
IOException {
+ try {
+ Boolean existsConfig = zkClient.exists(CONFIGS_ZKNODE + "/" +
configName, true);
+ if (existsConfig == null || existsConfig.booleanValue() == false) return
false;
+ Boolean existsSolrConfigXml = zkClient.exists(CONFIGS_ZKNODE + "/" +
configName + "/solrconfig.xml", true);
+ return existsSolrConfigXml;
Review comment:
Fxied
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]