[ 
https://issues.apache.org/jira/browse/HDDS-4684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279979#comment-17279979
 ] 

Rui Wang commented on HDDS-4684:
--------------------------------

[~shashikant] per the discussion in Ratis community, the comment on 
ApplyTransaction is not clear enough. 

If we return completed futures, then ApplyTransaction will also be the same as 
the order of log commits

> Use applyTransactionSerial instead of applyTransaction
> ------------------------------------------------------
>
>                 Key: HDDS-4684
>                 URL: https://issues.apache.org/jira/browse/HDDS-4684
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>
> applyTransactionSerial is expected to execute transaction serializable while 
> applyTransaction potentially run transaction in parallel. 
> However, in current SCM state machine, applyTransaction waits each operation 
> to finish even it returns CompleteFuture. So we should use 
> applyTransactionSerial and leave applyTransaction returns null.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to