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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Yakov Zhdanov created IGNITE-6380:
-------------------------------------

             Summary: 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


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)