[
https://issues.apache.org/jira/browse/IGNITE-25921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007522#comment-18007522
]
Konstantin Orlov commented on IGNITE-25921:
-------------------------------------------
There is also test
{{org.apache.ignite.internal.runner.app.client.ItThinClientSqlTest#testExplicitTransactionKvCase}}
which is partially muted under this ticket.
> Tx. GET in RO transaction failed due to lock conflict
> -----------------------------------------------------
>
> Key: IGNITE-25921
> URL: https://issues.apache.org/jira/browse/IGNITE-25921
> Project: Ignite
> Issue Type: Bug
> Components: ro transactions ai3
> Reporter: Konstantin Orlov
> Priority: Major
> Labels: ignite-3
>
> Take a look at example below:
> {code}
> KeyValueView<Integer, String> kvView = kvView();
> Transaction t = client().transactions().begin();
> for (int i = 0; i < 10; i++) {
> kvView.put(t, i, "1");
> }
> Transaction tx = client().transactions().begin(new
> TransactionOptions().readOnly(true));
> for (int i = 0; i < 10; i++) {
> kvView.get(tx, i);
> }
> {code}
> If thin client is used, the example fails with {{IGN-TX-4 Failed to acquire a
> lock due to a possible deadlock}} on GET.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)