You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Lapin (Jira)" <ji...@apache.org> on 2022/10/04 15:55:00 UTC
[jira] [Updated] (IGNITE-17822) CAS of tx state storage should be idempotent
[ https://issues.apache.org/jira/browse/IGNITE-17822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Lapin updated IGNITE-17822:
-------------------------------------
Reviewer: Alexander Lapin
> CAS of tx state storage should be idempotent
> --------------------------------------------
>
> Key: IGNITE-17822
> URL: https://issues.apache.org/jira/browse/IGNITE-17822
> Project: Ignite
> Issue Type: Bug
> Reporter: Denis Chudov
> Assignee: Denis Chudov
> Priority: Major
> Labels: ignite-3
>
> Retries of transaction on recovery should be idempotent, this means that TxStateStorage.compareAndSet should return true not only when actualState == expectedState but also when actualState == stateToSet.
> Commit timestamp should be generated on transaction coordinator, only in case of commit, and added to TxFinishReplicaRequest. It should be checked on CAS to check actualState == stateToSet.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)