lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] [Updated] (SOLR-3815) add hash range to shard
Date Thu, 13 Sep 2012 03:33:08 GMT


Yonik Seeley updated SOLR-3815:

    Attachment: SOLR-3815_clusterState_immutable.patch

Folks, while working to add the "replicas" level to shards (to make room for other properties),
I noticed that the Overseer.updateSlice() method changed the existing ClusterState (which
is advertised as being immutable).  I re-wrote the method to be much shorter, and immutable
with respect to the existing ClusterState, and started getting a test failure.

I eventually tried just adding back the part of the code that erroneously modified the existing
ClusterState, and the test passed again (see the nocommit block in Overseer).

Any idea what's going on?
> add hash range to shard
> -----------------------
>                 Key: SOLR-3815
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>         Attachments: SOLR-3815_addrange.patch, SOLR-3815_clusterState_immutable.patch,

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message