Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9428

MVCC TX: MvccQueryTrackerImpl.onDone() semantic is broken.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 2.8
    • mvcc, sql

    Description

      Due to 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.

      Reproducer: CacheMvccSqlTxQueriesAbstractTest#testAccountsTxDmlSumSql_WithRemoves_SingleNode 

       

      Upd: test was fixed in IGNITE-9373. But MvccQueryTrackerImpl.onDone() issue is still actual.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rkondakov Roman Kondakov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m