[infinispan-issues] [JBoss JIRA] (ISPN-2574) Segment transfer not restarted if the owner fails

Michal Linhard (JIRA) jira-events at lists.jboss.org
Thu Jan 10 08:47:08 EST 2013


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

Michal Linhard commented on ISPN-2574:
--------------------------------------

On current master this test crashes on this line:
{code}
 final Cache<Object, Object> c2 = cache(2);
{code}

but when catch the exception (by replacing it with):
{code}
      Cache<Object, Object> aCache = null;
      while (aCache == null) {
         try {
            aCache = cache(2);
         } catch (Exception e) {
            log.error("Problem obtaining cache: ", e);
         }
      }
      final Cache<Object, Object> c2 = aCache;
{code}

i still can't see the StateRequestCommand being sent from C to A (after B is killed)

                
> Segment transfer not restarted if the owner fails
> -------------------------------------------------
>
>                 Key: ISPN-2574
>                 URL: https://issues.jboss.org/browse/ISPN-2574
>             Project: Infinispan
>          Issue Type: Bug
>          Components: State transfer
>    Affects Versions: 5.2.0.Beta4
>            Reporter: Radim Vansa
>            Assignee: Adrian Nistor
>            Priority: Critical
>             Fix For: 5.2.0.CR1
>
>
> Imagine this situation in distributed cache with 3 owners:
> 1) The segment X is owned by nodes A, B, C
> 2) Node B fails -> CH_UPDATE and then REBALANCE_START are broadcasted
> 3) Node D starts transfer of segment X from C
> 4) Node C fails -> another CH_UPDATE is broadcasted
> 5) D handes the CH_UPDATE and removes the transfer of segment X from C, but does not start another transfer from A
> The {{addedSegments}} does not contain the restarted transfer, because all transfers from write consistent hash are removed from it in the beginning - the segment is considered received here although the transfer is still in progress.

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


More information about the infinispan-issues mailing list