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/19 21:39:25 UTC
[jira] [Created] (SOLR-9014) Audit all usages of ClusterState
methods which may make calls to ZK via the lazy collection reference
Shalin Shekhar Mangar created SOLR-9014:
-------------------------------------------
Summary: Audit all usages of ClusterState methods which may make calls to ZK via the lazy collection reference
Key: SOLR-9014
URL: https://issues.apache.org/jira/browse/SOLR-9014
Project: Solr
Issue Type: Improvement
Components: SolrCloud
Reporter: Shalin Shekhar Mangar
Fix For: master, 6.1
ClusterState has a bunch of methods such as getSlice and getReplica which internally call getCollectionOrNull that ends up making a call to ZK via the lazy collection reference. Many classes use these methods even though a DocCollection object is available. In such cases, multiple redundant calls to ZooKeeper are made.
We should audit all usages of these methods and replace them with calls to appropriate DocCollection methods.
--
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