ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-647) org.apache.ignite.IgniteCacheAffinitySelfTest.testAffinity() hangs
Date Wed, 23 Dec 2015 08:47:46 GMT

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

Semen Boikov commented on IGNITE-647:
-------------------------------------

There is one more race here:
- node 1 starts, exchange is finished
- node 2 starts, exchange is finished
- node 2 starts cache with fair affinity function, starts exchange and sends GridDhtAffinityAssignmentRequest
to node1. At this point node1 started exchange process, but did start cache yet and did not
register required message handler so message will be ignored.

So any dynamic cache start with fair affinity initiated from non-oldest node can easily hang.

> org.apache.ignite.IgniteCacheAffinitySelfTest.testAffinity() hangs
> ------------------------------------------------------------------
>
>                 Key: IGNITE-647
>                 URL: https://issues.apache.org/jira/browse/IGNITE-647
>             Project: Ignite
>          Issue Type: Sub-task
>            Reporter: Yakov Zhdanov
>            Assignee: Alexey Goncharuk
>            Priority: Blocker
>              Labels: Muted_test
>         Attachments: FairAffinityDynamicCacheSelfTest.testStartStopCache.txt, threaddump.txt
>
>
> 1-2 runs out of ~10 local runs hanged for me



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message