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/08/07 22:25:00 UTC

[jira] [Resolved] (HDDS-11174) [hsync] Change XceiverClientRatis.watchForCommit to async

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

Wei-Chiu Chuang resolved HDDS-11174.
------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Fixed

> [hsync] Change XceiverClientRatis.watchForCommit to async
> ---------------------------------------------------------
>
>                 Key: HDDS-11174
>                 URL: https://issues.apache.org/jira/browse/HDDS-11174
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Client
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> In the code below, it should just return the replyFuture instead of calling CompletableFuture.get().  This change is useful for HDDS-9844.
> {code}
> //XceiverClientRatis.watchForCommit
>       CompletableFuture<RaftClientReply> replyFuture = getClient().async().watch(index, watchType);
>       final RaftClientReply reply = replyFuture.get();
> {code}



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