Tsz-wo Sze created HDDS-9697:
--------------------------------

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


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]

Reply via email to