pvcnt commented on code in PR #2126:
URL: https://github.com/apache/solr/pull/2126#discussion_r1450386197


##########
solr/core/src/java/org/apache/solr/core/NodeConfig.java:
##########
@@ -211,6 +215,17 @@ private NodeConfig(
     if (null == this.solrHome) throw new NullPointerException("solrHome");
     if (null == this.loader) throw new NullPointerException("loader");
 
+    if (this.clusterPlugins != null
+        && this.clusterPlugins.length > 0
+        && !ClusterPluginsSourceConfigurator.resolveClassName()

Review Comment:
   Can this be done later in CoreContainer, and rely on a method on the 
`ClusterPluginsSource` interface rather than a comparison of the class name?



##########
solr/core/src/java/org/apache/solr/core/NodeConfig.java:
##########
@@ -211,6 +215,17 @@ private NodeConfig(
     if (null == this.solrHome) throw new NullPointerException("solrHome");
     if (null == this.loader) throw new NullPointerException("loader");
 
+    if (this.clusterPlugins != null
+        && this.clusterPlugins.length > 0
+        && !ClusterPluginsSourceConfigurator.resolveClassName()

Review Comment:
   Can this be done later in CoreContainer, and rely on a method on the 
`ClusterPluginsSource` interface rather than a comparison of the class name?



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to