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

Vyacheslav Koptilin resolved IGNITE-11357.
------------------------------------------
    Resolution: Won't Fix

This is not actual anymore due to IGNITE-13871, IGNITE-15760

> MVCC: SQL tx operations and DDL inside tx block
> -----------------------------------------------
>
>                 Key: IGNITE-11357
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11357
>             Project: Ignite
>          Issue Type: Bug
>          Components: mvcc
>    Affects Versions: 2.7
>            Reporter: Ivan Pavlukhin
>            Priority: Major
>
> DDL and special tx (BEGIN, COMMIT) operations does not behave well inside 
> explicit tx started using Java API. We should define how such operations 
> behave inside tx or forbid them inside tx. See test 
> {{SqlTransactionsCommandsWithMvccEnabledSelfTest#testSqlOperationsWithinNonSqlTransaction}}.
> Here is an example of problematic construction:
> {code}
> try (Transaction tx = node.transactions().txStart(PESSIMISTIC, SERIALIZABLE)) 
> {
>     cache.put(1, 1);
>     cache.query(new SqlFieldsQuery("commit"));
>     cache.put(2, 2);
>     tx.commit();
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to