ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rajeev gandhi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6380) Exception should be thrown on cache creation attempt inside transaction
Date Fri, 15 Sep 2017 16:16:00 GMT

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

rajeev gandhi commented on IGNITE-6380:
---------------------------------------

http://apache-ignite-users.70518.x6.nabble.com/Cannot-start-stop-cache-within-lock-or-transaction-td16920.html#a16990

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

Mime
View raw message