[
https://issues.apache.org/jira/browse/SOLR-16909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17777998#comment-17777998
]
David Smiley commented on SOLR-16909:
-------------------------------------
Interestingly we looked at this in production recently and found an
unexpectedly large reduction in response time to list collections from our
cluster (numbering in the many thousands). Median time went from 75ms down to
1.7ms. Rather remarkable and not expected (by me).
> Collections LIST command should fetch ZK data, not cached state
> ---------------------------------------------------------------
>
> Key: SOLR-16909
> URL: https://issues.apache.org/jira/browse/SOLR-16909
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud
> Reporter: David Smiley
> Priority: Major
>
> The LIST command to the Collections API presently returns all collections
> from the cached ClusterState. The proposal here is to fetch the child nodes
> in ZooKeeper instead. While the distinction is minor, the intent is to
> improve robustness / comprehensiveness. It may mean a collection is listed
> that is being created or being deleted that otherwise might not have been
> returned. The scenario driving this is to facilitate cleanup daemons that
> identify potentially left-over data from a collection creation or deletion
> that maybe failed (partial create or delete).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]