lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (JIRA)" <>
Subject [jira] [Updated] (SOLR-9140) Replace some state polling with CollectionStateWatchers
Date Thu, 02 Jun 2016 16:07:59 GMT


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

Updated patch.  This also seems to fix the occasional failures in TestCollectionStateWatchers
where a node never properly comes up.

The original patch replaced some polling in the 'delete collection' handling part of OverseerCollectionMessageProcessor,
but that caused some test failures where the client that was issuing the delete didn't get
its collection state updated quickly enough and so was checking stale state.  One way round
this might be to make the list-collection command go via the Overseer, so that it always gets
the latest state, but that's for another issue.  For now I've just not included that change.

> Replace some state polling with CollectionStateWatchers
> -------------------------------------------------------
>                 Key: SOLR-9140
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>         Attachments: SOLR-9140.patch, SOLR-9140.patch
> There are a few places in ZkController and the collection processing code that directly
query ZK for collection state, and then wait and poll for expected state changes.  We can
now replace these with CollectionStateWatchers.

This message was sent by Atlassian JIRA

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

View raw message