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

Yonik Seeley commented on SOLR-3815:
------------------------------------

bq. do you mean that with that patch (which modifies the existing state inside 
the nocommits block) the LeaderElectionIntegrationTest should pass? It fails 
for me sporadically around 50% of time.

OK, perhaps it's because I modify less of the original state that the original 
code does (that's commented out).
Just to clarify, I don't *want* to modify the original state - it was just the 
only way I could get the test to pass sometimes (because I noticed the original 
code modified the state).

bq. I think the problem may be in the shared ZKStateReader which is used by the 
overseer and rest of the system.

Ah, that would explain it - I hadn't realized the single instance was shared. 
The state not really being immutable could definitely cause issues then!
                
> add hash range to shard
> -----------------------
>
>                 Key: SOLR-3815
>                 URL: https://issues.apache.org/jira/browse/SOLR-3815
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Yonik Seeley
>         Attachments: SOLR-3815_addrange.patch, 
> SOLR-3815_clusterState_immutable.patch, SOLR-3815.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: http://www.atlassian.com/software/jira

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

Reply via email to