[
https://issues.apache.org/jira/browse/IGNITE-16882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Lapin updated IGNITE-16882:
-------------------------------------
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
{code:java}
partId = abs(txId.hashCode() % partCnt) {code}
we might use any other idempotent funtion, e.g. first partition of first
enlisted key.
Tx.Phase1
was:
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
Tx.Phase1
> Enlist txnState into single parition only
> -----------------------------------------
>
> Key: IGNITE-16882
> URL: https://issues.apache.org/jira/browse/IGNITE-16882
> Project: Ignite
> Issue Type: Improvement
> Reporter: Alexander Lapin
> Priority: Major
> Labels: ignite-3
>
> 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
> {code:java}
> partId = abs(txId.hashCode() % partCnt) {code}
> we might use any other idempotent funtion, e.g. first partition of first
> enlisted key.
> Tx.Phase1
--
This message was sent by Atlassian Jira
(v8.20.7#820007)