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

Enlist txnState into single parition only

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Currenlly txState(PENDING|ABORTED|COMMITED) is updated within all enlisted partitions which is not an atomic solution. According to new tx design it's required to replicate tx state with single partition only.
      As a prerequisite persisted replicated TxnStateStore should be introduced https://issues.apache.org/jira/browse/IGNITE-15931
      Such introduction will allow to rework existing tx implementaiton in order to store txState only within single partition.

      instead of using

      partId = abs(txId.hashCode() % partCnt) 

      we might use any other idempotent funtion, e.g. first partition of first enlisted key.

      Tx.Phase1

      Attachments

        Issue Links

          Activity

            People

              alapin Alexander Lapin
              alapin Alexander Lapin
              Sergey Uttsel Sergey Uttsel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: