[
https://issues.apache.org/jira/browse/SOLR-16909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906616#comment-17906616
]
David Smiley commented on SOLR-16909:
-------------------------------------
BTW the perf benefit is O(collections) assuming more than one node. Single
node cluster would see no benefit as it'd be watching all collections.
> 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]