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 2023/03/01 23:07:00 UTC

[jira] [Updated] (IGNITE-18835) Get rid of skipping safe time waiting on a primary node

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

Vladislav Pyatkov updated IGNITE-18835:
---------------------------------------
    Summary: Get rid of skipping safe time waiting on a primary node  (was: Get rid of skipping safe time waiting on a primary node.)

> Get rid of skipping safe time waiting on a primary node
> -------------------------------------------------------
>
>                 Key: IGNITE-18835
>                 URL: https://issues.apache.org/jira/browse/IGNITE-18835
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Mirza Aliev
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>
> Currently, we have a logic of skipping safe time waiting on a primary node in {{PartitionReplicaListener}} for read-only transaction, for example in {{PartitionReplicaListener#processReadOnlySingleEntryAction}}
> {code:java}
>         CompletableFuture<Void> safeReadFuture = isPrimary ? completedFuture(null) : safeTime.waitFor(request.readTimestamp());
>         return safeReadFuture.thenCompose(unused -> resolveRowByPkForReadOnly(searchRow, readTimestamp));
> {code}
> This is a wrong behaviour, we expect that this awaiting must be done on a primary node as well



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