lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <>
Subject [jira] [Updated] (SOLR-9113) Make it easier to use CollectionStateWatchers
Date Mon, 16 May 2016 08:36:12 GMT


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

Patch with proposed API change.  CollectionStateWatcher.onStateChange() now returns a boolean
- true if the watcher doesn't need to be re-registered, false otherwise.

This also fixes the flaky testSimpleCollectionWatch() test.

> Make it easier to use CollectionStateWatchers 
> ----------------------------------------------
>                 Key: SOLR-9113
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>         Attachments: SOLR-9113.patch
> SOLR-8323 adds the notion of a CollectionStateWatcher to ZkStateReader, but it's not
actually that easy to use - you need to remember to re-register it if necessary, and it can
fire immediately if it's the first watcher to be registered on a collection.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message