[infinispan-issues] [JBoss JIRA] (ISPN-1799) We should avoid using exceptions for flow control when acquiring state transfer lock

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Apr 26 16:20:26 EDT 2012


    [ https://issues.jboss.org/browse/ISPN-1799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688172#comment-12688172 ] 

RH Bugzilla Integration commented on ISPN-1799:
-----------------------------------------------

JBoss JIRA Server <jira-update at redhat.com> made a comment on [bug 765759|https://bugzilla.redhat.com/show_bug.cgi?id=765759]

Dan Berindei <dberinde at redhat.com> made a comment on jira ISPN-1799

Dex, if you have high latency or high losses then your cluster could split into two or more partitions, and during the split/merge it's possible to see these StateTransferInProgressExceptions and you can ignore them.

However, you should try to avoid these cluster changes by increasing your FD timeout, as saturating the network with the state transfer might lead to yet another split.
                
> We should avoid using exceptions for flow control when acquiring state transfer lock
> ------------------------------------------------------------------------------------
>
>                 Key: ISPN-1799
>                 URL: https://issues.jboss.org/browse/ISPN-1799
>             Project: Infinispan
>          Issue Type: Task
>          Components: State transfer
>    Affects Versions: 5.1.0.FINAL
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 5.1.4.FINAL
>
>
> We currently use `StateTransferInProgressException` as a marker that a write command failed to acquire the state transfer lock and it should be retried. With ISPN-1704 I added another exception, StateTransferLockReacquisitionException, to signal that a write command failed to re-acquire the state transfer lock after it had already acquired it.
> These exceptions often appear in the logs and confuse users (see ISPN-1610), so it would be best to use special return values. We may also need a flag in the InvocationContext for StateTransferLockReacquisitionException.

--
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