Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8980

Source cluster in CDCR setup should create clients for target cluster lazily

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 6.0
    • 6.2, 7.0
    • CDCR, SolrCloud
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: