You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2016/04/13 21:17:25 UTC

[jira] [Created] (SOLR-8980) Source cluster in CDCR setup should create clients for target cluster lazily

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org