iamsanjay commented on PR #2741: URL: https://github.com/apache/solr/pull/2741#issuecomment-2463764009
@dsmiley I think it doesn't even matter If we pass only zkAddress, or the combination of both zkHost and zkChroot. ``` void testZkClientClusterStateProviderCtor() throws IOException { try ( var stateProvider = new ZkClientClusterStateProvider(Collections.singletonList("localhost:2181"), "/solr"); var stateProvider1 = new ZkClientClusterStateProvider(Collections.singletonList("localhost:2181/solr"), null); var stateProvider2 = new ZkClientClusterStateProvider("localhost:2181/solr");){ assertEquals(stateProvider.getZkHost(), stateProvider2.getZkHost()); assertEquals(stateProvider.getZkHost(), stateProvider1.getZkHost()); } } ``` -- 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