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/06/29 06:33:00 UTC

[jira] [Updated] (IGNITE-17260) Enrich IgniteTransactions and Transaction interfaces with RO related methods

|  ![](cid:jira-generated-image-avatar-695c4ca1-6d7e-493c-9786-7b8ce3898f1d) |
[Alexander
Lapin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=alapin)
**updated** an issue  
---|---  
|  
---  
|  [Ignite](https://issues.apache.org/jira/browse/IGNITE) /
[![Improvement](cid:jira-generated-image-
avatar-e77841ff-604c-4f71-bb48-e392a393ce92)](https://issues.apache.org/jira/browse/IGNITE-17260)
[IGNITE-17260](https://issues.apache.org/jira/browse/IGNITE-17260)  
---  
[Enrich IgniteTransactions and Transaction interfaces with RO related
methods](https://issues.apache.org/jira/browse/IGNITE-17260)  
| Change By: |  [Alexander
Lapin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=alapin)  
---|---  
|  It's required to explicitly register an intent of starting readOnly
transaction, so that overloaded versions  
  
  
{code:java}  
Transaction begin(boolean readOnly){code}  
 and  
{code:java}  
CompletableFuture<Transaction> beginAsync(boolean readOnly){code}  
should be added to IgniteTransactions together with corresponding
implementation.  
  
Besides that Transaction interface should be extended with  
{code:java}  
boolean isReadOnly();{code}  
method.  
  
  
---  
|  |  [ ![Add Comment](cid:jira-generated-image-static-comment-
icon-f8308fc8-a1ec-4495-8c1a-514fffb3058d)
](https://issues.apache.org/jira/browse/IGNITE-17260#add-comment "Add
Comment") |  [Add
Comment](https://issues.apache.org/jira/browse/IGNITE-17260#add-comment "Add
Comment")  
---|---  
  
|  This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9) |  |
![Atlassian logo](https://issues.apache.org/jira/images/mail/atlassian-email-
logo.png)  
---