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

Vladislav Pyatkov updated IGNITE-19898:
---------------------------------------
    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. 
A read timestamp, which is used for RO transaction calculation, returns to the 
invoking side.

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

*Implementation notes*
Observation timestamp is passed through API and propagate to SQL engine
If SQL script does not require starting an implicit RO transaction, the 
timestamp is not used.
If the SQL is started an RO transaction, the transaction should be created 
using the timestamp.

*Definition of done*
Select in an implicit transaction should execute with an observation timestamp. 


> SQL implicit RO transaction should used observation timestamp
> -------------------------------------------------------------
>
>                 Key: IGNITE-19898
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19898
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>
> *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. A read timestamp, which is used for RO transaction calculation, 
> returns to the invoking side.



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

Reply via email to