You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2024/11/27 16:35:00 UTC

[jira] [Updated] (IGNITE-23787) Implicit get for embedded mode starts RW transaction

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

Vladislav Pyatkov updated IGNITE-23787:
---------------------------------------
    Description: 
h3. Motivation
Implicit get operation should start RO transaction because the transaction type is faster and does not take any lock.
{code}
private InternalTransaction startImplicitRoTxIfNeeded(@Nullable InternalTransaction tx) {
    return tx == null ? txManager.begin(observableTimestampTracker, true, false) : tx;
}
{code}
h3. Definition of done
Implicit get in embedded mode starts RO transaction.

  was:
h3. Motivation
Implicit get operation should start RO transaction because the transaction type is faster and does not take any lock.
{code}
private InternalTransaction startImplicitRoTxIfNeeded(@Nullable InternalTransaction tx) {
    return tx == null ? txManager.begin(observableTimestampTracker, true, true) : tx;
}
{code}
h3. Definition of done
Implicit get in embedded mode starts RO transaction.


> Implicit get for embedded mode starts RW transaction
> ----------------------------------------------------
>
>                 Key: IGNITE-23787
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23787
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> h3. Motivation
> Implicit get operation should start RO transaction because the transaction type is faster and does not take any lock.
> {code}
> private InternalTransaction startImplicitRoTxIfNeeded(@Nullable InternalTransaction tx) {
>     return tx == null ? txManager.begin(observableTimestampTracker, true, false) : tx;
> }
> {code}
> h3. Definition of done
> Implicit get in embedded mode starts RO transaction.



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