[
https://issues.apache.org/jira/browse/SOLR-7636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578256#comment-14578256
]
Noble Paul commented on SOLR-7636:
----------------------------------
bq.If users call the cluster status api frequently wouldn't the benefit of
moving this out of the OCP be lost?
Before this fix, the call path was as follows
colectionshandler -> ZK Q -> OCP -> (ZK Q read + ZK Q DEL + ZK Q Write) ->
(CollectionsHandler ZK READ+ DEL)
Now it has become
CollectionsHandler -> ZK READ
So, this is definitely a win as of now.
> CLUSTERSTATUS Api should not go to OCP to fetch data
> ----------------------------------------------------
>
> Key: SOLR-7636
> URL: https://issues.apache.org/jira/browse/SOLR-7636
> Project: Solr
> Issue Type: Improvement
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Minor
> Attachments: SOLR-7636.patch
>
>
> Currently it does multiple ZK operations which is not required. It should
> just read the status from ZK and return from the CollectionsHandler
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]