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

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0
    • Fix Version/s: 6.2, 7.0
    • Component/s: CDCR, SolrCloud
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: