Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
Description
Motivation
It's required to release all acquired locks on transaction finish in a durable way. Such durability consists of two parts:
- Durable unlock within same primary.
- Durable unlock on primary change.
This ticket is about first part only. There's a counterpart ticket for the second part IGNITE-20002
Definition of Done
- All unreleased locks for the transactions that were finished are either released or corresponsing lockholder primary 've left the topology. Locks are volatile and are stored only on the primary replica, thus in case of lock-holder primary failure, all locks will be automatically released.
Implemention Notes
Durable recursive
replicaService.invoke(recipientNode, FACTORY.txCleanupReplicaRequest()
until success or loss of recipientNode(enlisted primary) are expected.
Attachments
Issue Links
- relates to
-
IGNITE-20055 Durable txCleanupReplicaRequest send from the commit partition
- Resolved