Konstantin Orlov created IGNITE-25921:
-----------------------------------------

             Summary: 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


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)

Reply via email to