smengcl commented on code in PR #6941:
URL: https://github.com/apache/ozone/pull/6941#discussion_r1706067231


##########
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientSpi.java:
##########
@@ -178,9 +178,9 @@ public static IOException getIOExceptionForSendCommand(
    * @return reply containing the min commit index replicated to all or 
majority
    *         servers in case of a failure
    */
-  public abstract XceiverClientReply watchForCommit(long index)
-      throws InterruptedException, ExecutionException, TimeoutException,
-      IOException;
+  public CompletableFuture<XceiverClientReply> watchForCommit(long index) {

Review Comment:
   Shall we also change this one to `watchForCommitAsync` without breaking 
compatibility?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to