[
https://issues.apache.org/jira/browse/IGNITE-17822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612659#comment-17612659
]
Alexander Lapin commented on IGNITE-17822:
------------------------------------------
[~Denis Chudov] LGTM
> 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)