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

[jira] [Created] (IGNITE-17822) CAS of tx state storage should be idempotent

Denis Chudov created IGNITE-17822:
-------------------------------------

             Summary: 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


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)