[ 
https://issues.apache.org/jira/browse/SOLR-11960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16370797#comment-16370797
 ] 

Tomás Fernández Löbbe commented on SOLR-11960:
----------------------------------------------

Thanks [~prusko], patch looks great. I modified 
{{CollectionPropsTest.testReadWrite}} to check immediately, since we are 
getting the value directly from ZooKeeper the change should be immediate, there 
is no need to wait. I also added a test, 
{{CollectionPropsTest.testReadWriteCached}} that adds a watcher, so that we do 
read the cached state. For that case we do need to wait until the value is 
asynchronously set.
I’m going to upload a patch with my latest changes and commit shortly. Can you 
update the docs for this new command?

> Add collection level properties
> -------------------------------
>
>                 Key: SOLR-11960
>                 URL: https://issues.apache.org/jira/browse/SOLR-11960
>             Project: Solr
>          Issue Type: New Feature
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Peter Rusko
>            Assignee: Tomás Fernández Löbbe
>            Priority: Major
>         Attachments: SOLR-11960.patch, SOLR-11960.patch
>
>
> Solr has cluster properties, but no easy and extendable way of defining 
> properties that affect a single collection. Collection properties could be 
> stored in a single zookeeper node per collection, making it possible to 
> trigger zookeeper watchers for only those Solr nodes that have cores of that 
> collection.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to