[ https://issues.apache.org/jira/browse/SOLR-7660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-7660: ---------------------------------------- Attachment: SOLR-7660.patch I renamed getIndividualColls to getStateFormat2CollectionNames. I'll commit this shortly. > Avoid redundant 'exists' calls made to ZK while fetching cluster state updates > ------------------------------------------------------------------------------ > > Key: SOLR-7660 > URL: https://issues.apache.org/jira/browse/SOLR-7660 > Project: Solr > Issue Type: Improvement > Components: SolrCloud > Reporter: Shalin Shekhar Mangar > Assignee: Shalin Shekhar Mangar > Priority: Minor > Labels: difficulty-easy, impact-medium > Fix For: 5.3, Trunk > > Attachments: SOLR-7660.patch, SOLR-7660.patch > > > As noted in > https://issues.apache.org/jira/browse/SOLR-7636?focusedCommentId=14578332&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14578332 > {quote} > we have CollectionsHandler -> ZK getChildren (/live_nodes) + ZK read > (/clusterstate.json) + ZK getChildren + N * ZK exists (for > getIndividualColls) + W * ZK exists + W * getData (for watched collections) + > (N-W) * ZK exists + (N-W) * ZK getData (for non-watched collections). > {quote} > Some of the ZK exists calls can be avoided without changing the outcome. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org