[infinispan-issues] [JBoss JIRA] (ISPN-1493) Write commands fail too often with RehashInProgressException during state transfer

Galder Zamarreño (Resolved) (JIRA) jira-events at lists.jboss.org
Thu Oct 27 07:39:45 EDT 2011


     [ https://issues.jboss.org/browse/ISPN-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño resolved ISPN-1493.
------------------------------------

    Fix Version/s: 5.1.0.FINAL
       Resolution: Done

    
> Write commands fail too often with RehashInProgressException during state transfer
> ----------------------------------------------------------------------------------
>
>                 Key: ISPN-1493
>                 URL: https://issues.jboss.org/browse/ISPN-1493
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Distributed Cache
>    Affects Versions: 5.0.1.FINAL, 5.1.0.BETA2
>            Reporter: Dan Berindei
>            Assignee: Manik Surtani
>             Fix For: 5.1.0.BETA3, 5.1.0.FINAL
>
>
> With the blocking state transfer we have since 5.0, we can sometimes have a deadlock between the state transfer process and executing write/prepare/commit commands.
> The commands need to acquire the state transfer lock on the originator and on the key owners, in this order, and the state transfer also needs to acquire the state transfer lock on these nodes but in an undefined order (see ISPN-1106).
> This is solved by failing fast when acquiring the command's state transfer lock on the remote node, but this means that a write command can fail with a RehashInProgressException and the user is forced to retry.
> We can do better and retry the command ourselves after waiting for the state transfer to end.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list