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)

Reply via email to