Wei-Chiu Chuang created HDDS-9844:
-------------------------------------

             Summary: [hsync] Unsynchronize hsync API
                 Key: HDDS-9844
                 URL: https://issues.apache.org/jira/browse/HDDS-9844
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Wei-Chiu Chuang


The current hysnc implementation KeyOutputStream.hsync() is wrapped in a 
synchronized block. The HBase write ahead log FSHLog.SyncRunner has multiple 
threads invoking hsync in parallel to reduce client latency.

We should unsynchronize Ozone's hsync such that it doesn't block waiting for 
the Ratis transaction to respond.

cc: [~szetszwo] this is what we discussed offline.



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