You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/09 11:09:45 UTC

[jira] [Commented] (IGNITE-1391) Platform .Net: Messaging.RemoteListen causes deadlock when remote node interop is initializing

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

ASF GitHub Bot commented on IGNITE-1391:
----------------------------------------

GitHub user ptupitsyn opened a pull request:

    https://github.com/apache/ignite/pull/78

    IGNITE-1391 Platform .Net: Messaging.RemoteListen causes deadlock when remote node interop is initializing

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ptupitsyn/ignite ignite-1391

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/78.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #78
    
----
commit 8223b0d9a924374a670a9ac1a214244f9d4b26dd
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T14:42:28Z

    IGNITE-1391 Platform .Net: Messaging.RemoteListen causes deadlock when remote node interop is initializing

commit 6726ecba114b46f8782b377377b823a4947e3072
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T14:54:16Z

    wip tests

commit 6d38cdaf0d41025fa0b724c04cba89961864cd90
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T14:58:02Z

    wip

commit 520aa2999301de70cbde9de7e5fac64306814181
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T15:09:03Z

    wip

commit 14120a8e85db00ef547b72d7f83582465882384e
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T15:16:03Z

    wip

commit 1240bd97d50c321b7f9bb47ee61f1ca2b2aeec5c
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T15:23:13Z

    wip

commit 9d7c8314eb8908a24ee27df72a5d043207af2432
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T15:33:59Z

    IGNITE-1391 Platform .Net: Messaging.RemoteListen causes deadlock when remote node interop is initializing

commit 276ef394a186451aa1dcddd5407345f104d962be
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T15:40:41Z

    Wip ignition refactoring

commit 40e135e41ac257d001d8e0279ed2c1d23930034d
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T15:42:43Z

    fix cpp

commit 7bfd00cc490514171876ea4b3aa98d3167512907
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T15:44:24Z

    fix cpp

commit d2fd5b4a28fdfbd61c7140bd36090a730ce3d216
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T15:56:05Z

    wip

commit b2bdb567cb523910efb2bb379dcea1a5d36a13df
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T16:09:36Z

    Make ignition.start void

commit e02a9189a258ee34805c329455dadefb51d70a00
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T16:46:30Z

    wip

commit 7068902b8008bd0f1c77b9599a7b6b47eeefa0f0
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T16:50:28Z

    Fix transactions init.

commit d74da2555b9e5e1398d85fe6da09fd9a52055457
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T16:55:18Z

    wip

commit 2e79e897f4e5a4e08af465da4ccce14286494241
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-08T16:56:47Z

    wip

commit 55ec2b885b07226f159ab10a15e53deb4c24beb2
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-09T09:03:55Z

    Fix test

commit ef26e61f6f1e33e760c493cf04af23900e267bf1
Author: ptupitsyn <pt...@gridgain.com>
Date:   2015-09-09T09:04:43Z

    Merge remote-tracking branch 'remotes/upstream/master' into ignite-1391

----


> Platform .Net: Messaging.RemoteListen causes deadlock when remote node interop is initializing
> ----------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-1391
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1391
>             Project: Ignite
>          Issue Type: Bug
>          Components: interop
>    Affects Versions: 1.1.4
>            Reporter: Pavel  Tupitsyn
>            Assignee: Pavel  Tupitsyn
>            Priority: Critical
>             Fix For: ignite-1.4
>
>
> * when node joins the topology, interop processor is not yet ready (Ignite instance is not created in .Net)
> * When that node receives a remote message listener, UnmanagedCallbacks.MessagingFilterCreate gets called, and it blocks on "_initEvent.Wait()"
> * This blocks whole messaging mechanism, so interop processor initialization can't be completed
> We need to:
> * Override onKernalStart in PlatformProcessorImpl and call platform.onStart from there
> * In .Net, release _initEvent from that callback



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