You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2016/05/12 17:20:13 UTC

[jira] [Updated] (SOLR-9106) Cache cluster properties in ZkStateReader

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

Alan Woodward updated SOLR-9106:
--------------------------------
    Attachment: SOLR-9106.patch

Patch.  Also adds a type-safe .getClusterProperty() method, which neatens a few things up a bit.

> Cache cluster properties in ZkStateReader
> -----------------------------------------
>
>                 Key: SOLR-9106
>                 URL: https://issues.apache.org/jira/browse/SOLR-9106
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: master (7.0)
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>         Attachments: SOLR-9106.patch
>
>
> ZkStateReader currently makes calls into ZK every time getClusterProps() is called.  Instead we should keep the data locally and use a Watcher to update it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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