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

SQL implicit RO transaction should used observation timestamp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 3.0
    • None

    Description

      Motivation
      Reorganization of processing of RO transaction requires choosing a specific timestamp for an implicit RO SQL transaction.

      Implementation notes

      • Observable timestamp is passed through API and propagate to SQL engine.
      • SQL uses the observable timestamp when it has to start RO transaction (IGNITE-19887 is used to start RO transaction with specified observable timestamp).
      • Read timestamp, that is got through transaction API ReadOnlyTransactionImpl#readTimestamp, should to be available for invoking side.

      Definition of done

      • Select in an implicit transaction should execute with an observable timestamp (see TODO in ClientSqlExecuteRequest). A read timestamp, which is used for RO transaction calculation, returns to the invoking side.

      Attachments

        Issue Links

          Activity

            People

              xtern Pavel Pereslegin
              v.pyatkov Vladislav Pyatkov
              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 - 5h
                  5h