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

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

GitHub user xtern opened a pull request:

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

    IGNITE-6380 Reject compute task execution if deadlock possible.

    

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

    $ git pull https://github.com/xtern/ignite IGNITE-6380

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

    https://github.com/apache/ignite/pull/2818.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 #2818
    
----
commit 403d2e7b071d56d67f9a960176ef94f634da1b59
Author: Pereslegin Pavel <[email protected]>
Date:   2017-10-08T16:30:01Z

    IGNITE-6380 Reject compute task execution if deadlock possible.

commit 8abb43916e27f7b651cd63511ef759bf8cd343f5
Author: Pavel Pereslegin <[email protected]>
Date:   2017-10-09T08:46:51Z

    IGNITE-6380 Exception message correction.

commit ff44e7d8056c5f53ec51e63a65ea9a81119ecfa5
Author: Pavel Pereslegin <[email protected]>
Date:   2017-10-09T08:51:23Z

    IGNITE-6380 Test was renamed.

commit b617d4c41ebb3948d5c770f5369c283f60fe5c4c
Author: Pavel Pereslegin <[email protected]>
Date:   2017-10-09T08:54:29Z

    IGNITE-6380 Test was included to test suit.

----


> Exception should be thrown on cache creation attempt inside transaction
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-6380
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6380
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Yakov Zhdanov
>            Assignee: Pavel Pereslegin
>              Labels: newbie, usability
>
> Exception should be thrown on cache creation attempt inside transaction to 
> prevent deadlocks since cache start triggers exchange and exchange cannot 
> finish until all txs are finished.
> We need to check if thread owns a tx before starting cache and if it does 
> then IllegalStateException should be thrown.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to