You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Anton Vinogradov (JIRA)" <ji...@apache.org> on 2017/09/20 15:08:00 UTC

[jira] [Issue Comment Deleted] (IGNITE-6380) Exception should be thrown on cache creation attempt inside transaction

     [ https://issues.apache.org/jira/browse/IGNITE-6380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anton Vinogradov updated IGNITE-6380:
-------------------------------------
    Comment: was deleted

(was: Simplified reproducer:)

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