You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2023/12/05 22:20:00 UTC

[jira] [Created] (HDDS-9844) [hsync] Unsynchronize hsync API

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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org