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

ASF GitHub Bot updated HDDS-11174:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to