You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2013/11/29 19:46:35 UTC

[jira] [Updated] (SOLR-5473) Make one state.json per collection

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

Noble Paul updated SOLR-5473:
-----------------------------

    Attachment: SOLR-5473.patch

Don't run the tests yet

What does the patch do?

* collection create accepts an extra parameter external=true/false . default=false. 
* If external=true. The collection will have no entry in the clusterstate.json
* The clusterstate for all such 'external' collections will be stored at /collections/<collection-name>/state
* DocCollection#isExternal() can tell you if it is external or not
* Use DocCollection#getVersion() to get the zk version of the cluterstate of that object in ZK
* A node will only listen to the collections where it i a member of


> Make one state.json per collection
> ----------------------------------
>
>                 Key: SOLR-5473
>                 URL: https://issues.apache.org/jira/browse/SOLR-5473
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrCloud
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>         Attachments: SOLR-5473.patch
>
>
> As defined in the parent issue, store the states of each collection under /collections/collectionname/state.json node



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org