[ 
https://issues.apache.org/jira/browse/SOLR-5466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar updated SOLR-5466:
----------------------------------------

    Attachment: SOLR-5466.patch

Fixed a bug in OCP.getCollectionStatus which removed shards from the parent 
cluster state.

Hi [~vzhovtiuk] - Be very careful about the cluster state information. It is 
not protected and if you remove something from collection properties, it will 
not be visible anymore to other classes in Solr. Always make copies if you are 
modifying it.

We should re-factor cluster state and associated classes to return immutable 
objects by default. I shall open an issue.

> Add List Collections functionality to Collections API
> -----------------------------------------------------
>
>                 Key: SOLR-5466
>                 URL: https://issues.apache.org/jira/browse/SOLR-5466
>             Project: Solr
>          Issue Type: Sub-task
>          Components: scripts and tools, SolrCloud
>         Environment: All
>            Reporter: Dave Seltzer
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>              Labels: api, collections, rest
>         Attachments: SOLR-5466.patch, SOLR-5466.patch, SOLR-5466.patch, 
> SOLR-5466.patch, SOLR-5466.patch, SOLR-5466.patch, SOLR-5466.patch
>
>
> The collections API lets you add, delete and modify existing collections. At 
> the moment the API does not let you get a list of current collections or view 
> information about a specific collection.
> The workaround is the use the Zookeeper API to get the list. This makes the 
> Collections API harder to work with. 
> Adding an action=LIST would significantly improve the function of this API.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to