You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Semen Boikov (JIRA)" <ji...@apache.org> on 2015/12/23 09:47:46 UTC

[jira] [Commented] (IGNITE-647) org.apache.ignite.IgniteCacheAffinitySelfTest.testAffinity() hangs

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