[
https://issues.apache.org/jira/browse/HDDS-9697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786223#comment-17786223
]
Tsz-wo Sze commented on HDDS-9697:
----------------------------------
HDDS-2321 accidentally added token validation to
ContainerStateMachine.applyTransaction(..).
> ContainerStateMachine.applyTransaction(..) should not validate token again
> --------------------------------------------------------------------------
>
> Key: HDDS-9697
> URL: https://issues.apache.org/jira/browse/HDDS-9697
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone Datanode
> Reporter: Tsz-wo Sze
> Priority: Major
>
> In ContainerStateMachine, the startTransaction(..) method has already
> validated the token. The applyTransaction(..) should not validate the same
> token again.
> A problem is that the token may expire later on. Then, a server may not be
> able to re-apply the same transaction when replaying the RaftLog after server
> restart.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]