[jira] [Created] (IGNITE-9428) MVCC TX: Multiple H2ResultSetIterator closing leads to assertion in MvccProcessor

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

[jira] [Created] (IGNITE-9428) MVCC TX: Multiple H2ResultSetIterator closing leads to assertion in MvccProcessor

Anton Vinogradov (Jira)
Roman Kondakov created IGNITE-9428:
--------------------------------------

             Summary: MVCC TX: Multiple H2ResultSetIterator closing leads to assertion in MvccProcessor
                 Key: IGNITE-9428
                 URL: https://issues.apache.org/jira/browse/IGNITE-9428
             Project: Ignite
          Issue Type: Bug
          Components: mvcc
            Reporter: Roman Kondakov


Reproducer: {{CacheMvccSqlTxQueriesAbstractTest#testAccountsTxDmlSumSql_WithRemoves_SingleNode}} 

Due to [IGNITE-9256|https://issues.apache.org/jira/browse/IGNITE-9256] patch, multiple {{H2ResultSetIterator#onClose}} invocation becomes possible. This can be considered as a {{Closable}} contract violation and should be fixed.

Also this case revealed a bug in {{MvccQueryTrackerImpl}} when multiple {{onDone()}} call leads to multiple query finished acks sent back to the {{MvccCoordinator}} which leads to the problems with the query tracking and assertion errors.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)