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

MVCC: Sql API methods should throw proper TransactionExceptions in case of tx failure.

    XMLWordPrintableJSON

Details

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

    Description

      For now Sql API can throws SqlException (without any actual Tx failure cause) or TransactionException wrapped into CacheException.

      Also, I've found we convert unchecked exceptions into checked ones and then back without any obvious reason.

      Let's make TransactionException thows properly and add it to Sql Api contract.

      Attachments

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              amashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 40m
                  40m