You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Lapin (Jira)" <ji...@apache.org> on 2022/08/02 07:32:00 UTC
[jira] [Updated] (IGNITE-17260) Enrich IgniteTransactions and Transaction interfaces with RO related methods
[ https://issues.apache.org/jira/browse/IGNITE-17260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Lapin updated IGNITE-17260:
-------------------------------------
Description:
It's required to explicitly register an intent of starting readOnly transaction, so that overloaded versions
{code:java}
Transaction begin(HybridTimestamp timestamp){code}
and
{code:java}
CompletableFuture<Transaction> beginAsync(HybridTimestamp timestamp){code}
should be added to IgniteTransactions together with corresponding implementation.
Besides that Transaction interface should be extended with
{code:java}
boolean isReadOnly();{code}
and
{code:java}
long timestamp();{code}
methods.
was:
It's required to explicitly register an intent of starting readOnly transaction, so that overloaded versions
{code:java}
Transaction begin(long timestamp){code}
and
{code:java}
CompletableFuture<Transaction> beginAsync(long timestamp){code}
should be added to IgniteTransactions together with corresponding implementation.
Besides that Transaction interface should be extended with
{code:java}
boolean isReadOnly();{code}
and
{code:java}
long timestamp();{code}
methods.
> Enrich IgniteTransactions and Transaction interfaces with RO related methods
> ----------------------------------------------------------------------------
>
> Key: IGNITE-17260
> URL: https://issues.apache.org/jira/browse/IGNITE-17260
> Project: Ignite
> Issue Type: Improvement
> Reporter: Alexander Lapin
> Priority: Major
> Labels: ignite-3, transaction3_ro
>
> It's required to explicitly register an intent of starting readOnly transaction, so that overloaded versions
> {code:java}
> Transaction begin(HybridTimestamp timestamp){code}
> and
> {code:java}
> CompletableFuture<Transaction> beginAsync(HybridTimestamp timestamp){code}
> should be added to IgniteTransactions together with corresponding implementation.
> Besides that Transaction interface should be extended with
> {code:java}
> boolean isReadOnly();{code}
> and
> {code:java}
> long timestamp();{code}
> methods.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)