Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-20004

Implement durable unlock within same primary

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              ksizov  Kirill Sizov
              alapin Alexander Lapin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: