You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2022/08/31 13:07:00 UTC

[jira] [Commented] (IGNITE-16882) Enlist txnState into single parition only

    [ https://issues.apache.org/jira/browse/IGNITE-16882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598366#comment-17598366 ] 

Vladislav Pyatkov commented on IGNITE-16882:
--------------------------------------------

LGTM

> 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
>            Assignee: Alexander Lapin
>            Priority: Major
>              Labels: ignite-3, transaction3_rw
>
> 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.10#820010)