NazerkeBS commented on a change in pull request #23:
URL: https://github.com/apache/solr/pull/23#discussion_r599022758



##########
File path: 
solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java
##########
@@ -301,7 +302,7 @@ static void deleteBackup(BackupRepository repository, URI 
backupPath, int maxNum
   }
 
   static void validateConfigOrThrowSolrException(SolrCloudManager 
cloudManager, String configName) throws IOException, KeeperException, 
InterruptedException {
-    boolean isValid = 
cloudManager.getDistribStateManager().hasData(ZkConfigManager.CONFIGS_ZKNODE + 
"/" + configName);
+    boolean isValid = 
cloudManager.getDistribStateManager().hasData(ZkConfigSetService.CONFIGS_ZKNODE 
+ "/" + configName);

Review comment:
       SolrCloudManager is in solrj. Since CollectionHandlingUtils is in core, 
I can pass ConfigSetService as an argument instead of SolrCloudManager. 




-- 
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:
us...@infra.apache.org


Reply via email to