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.