You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Steshin (Jira)" <ji...@apache.org> on 2023/05/01 14:36:00 UTC

[jira] [Created] (IGNITE-19388) Reachless code of out-of-primary transaction locks.

Vladimir Steshin created IGNITE-19388:
-----------------------------------------

             Summary: Reachless code of out-of-primary transaction locks.
                 Key: IGNITE-19388
                 URL: https://issues.apache.org/jira/browse/IGNITE-19388
             Project: Ignite
          Issue Type: Test
            Reporter: Vladimir Steshin


How can we request remote locks from a primary node with a transaction? Can we send GridDhtLockRequest and reply with GridDhtLockResponse?

We do:
 - Map transaction to primary nodes where locks actually occurs. 
 - Remap transaction at the beginning if the topology changes.
 - Stop in-progress transaction if primary leaves.
 - Continue in-progress transaction if backup leaves.
 - Deprecate acquiring explicit locks within transaction.
 
Technically, when attempt to send remote lock when primary doesn't own partition. Probably if transaction starts at long rebalance?
 
 However, looks like such case is not covered by tests. I've run experimental PRs forcibly failing remote lock requesting within transaction. To be sure, by various ways. Te test have passed. But they should not.



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