Shalin Shekhar Mangar created SOLR-8980:
-------------------------------------------

             Summary: Source cluster in CDCR setup should create clients for 
target cluster lazily
                 Key: SOLR-8980
                 URL: https://issues.apache.org/jira/browse/SOLR-8980
             Project: Solr
          Issue Type: Improvement
          Components: CDCR, SolrCloud
    Affects Versions: 6.0
            Reporter: Shalin Shekhar Mangar
             Fix For: master, 6.1


CdcrReplicatorManager currently eagerly creates a CloudSolrClient for the 
target cluster on each and every node of the source cluster. This is wasteful 
and causes a ZkStateReader and this a ZK connection to the target ZK servers. 
This is also why the CDCR page in the reference guide recommends increasing the 
maxClientCnxns setting in Zookeeper to keep up with the large number of 
connections maintained by the nodes in the source cluster.

Source cluster in CDCR setup should create clients for target cluster only on 
the leader nodes and that too lazily.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to