[
https://issues.apache.org/jira/browse/SOLR-9057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15268367#comment-15268367
]
Shai Erera commented on SOLR-9057:
----------------------------------
In CSC code I see that {{connect()}} is called from several places, one of
which is {{sendRequest}} and another is {{requestWithRetryOnStaleState}}. And
in {{connect()}} I see that a watcher is created both by calling {{new
ZkStateReader(zkHost, zkClientTimeout, zkConnectTimeout)}} and immediately
after {{zk.createClusterStateWatchersAndUpdate()}}.
I don't reject your statement about my understanding of how CSC works, but
could you please explain how it does not create a watcher today? Or if that's
case today and this issue is about changing it, what are you proposing to
change?
If you prefer to wait with answering these questions until you have a patch,
I'm OK with that too.
> CloudSolrClient should be able to work w/o ZK url
> -------------------------------------------------
>
> Key: SOLR-9057
> URL: https://issues.apache.org/jira/browse/SOLR-9057
> Project: Solr
> Issue Type: Bug
> Components: SolrJ
> Reporter: Noble Paul
>
> It should be possible to pass one or more Solr urls to Solrj and it should be
> able to get started from there. Exposing ZK to users should not be required.
> it is a security vulnerability
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]