[ 
https://issues.apache.org/jira/browse/HDDS-9371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duong updated HDDS-9371:
------------------------
    Description: 
OzoneManagerStateMachine converts Ratis Request to OM request on 
[OzoneManagerStateMachine#preAppendTransaction|https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerStateMachine.java#L270]
 (which is called during appendEntry) and 
[OzoneManagerStateMachine#applyTransaction|https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerStateMachine.java#L317].
 These methods are on the critical paths of Ratis and run sequentially. This 
significantly reduces Ratis replication throughput in OM.

All the serialization needs to be done on startTransaction which is called in 
multithreaded context. 

  was:
OzoneManagerStateMachine converts Ratis Request to OM request on 
[OzoneManagerStateMachine#preAppendTransaction|https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerStateMachine.java#L270]
 (which is called during appendEntry) and 
[OzoneManagerStateMachine#applyTransaction|https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerStateMachine.java#L317].
 These methods are on the critical paths of Ratis and runs sequentially. This 
significantly reduces Ratis replication throughput in OM. 




> OzoneManagerStateMachine deserializes request on the critical paths
> -------------------------------------------------------------------
>
>                 Key: HDDS-9371
>                 URL: https://issues.apache.org/jira/browse/HDDS-9371
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Duong
>            Priority: Major
>
> OzoneManagerStateMachine converts Ratis Request to OM request on 
> [OzoneManagerStateMachine#preAppendTransaction|https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerStateMachine.java#L270]
>  (which is called during appendEntry) and 
> [OzoneManagerStateMachine#applyTransaction|https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/ratis/OzoneManagerStateMachine.java#L317].
>  These methods are on the critical paths of Ratis and run sequentially. This 
> significantly reduces Ratis replication throughput in OM.
> All the serialization needs to be done on startTransaction which is called in 
> multithreaded context. 



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