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