smengcl commented on code in PR #6941:
URL: https://github.com/apache/ozone/pull/6941#discussion_r1706067484
##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/XceiverClientRatis.java:
##########
@@ -295,46 +294,39 @@ private XceiverClientReply newWatchReply(
}
@Override
- public XceiverClientReply watchForCommit(long index)
- throws InterruptedException, ExecutionException, TimeoutException,
- IOException {
+ public CompletableFuture<XceiverClientReply> watchForCommit(long index) {
Review Comment:
Shall we 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]