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 2024/01/31 02:05:00 UTC
[jira] [Updated] (HDDS-9844) [hsync] De-synchronize hsync API
[ https://issues.apache.org/jira/browse/HDDS-9844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang updated HDDS-9844:
----------------------------------
Summary: [hsync] De-synchronize hsync API (was: [hsync] Unsynchronize hsync API)
> [hsync] De-synchronize 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
> Assignee: Siyao Meng
> Priority: Major
>
> 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