ivandika3 commented on code in PR #7988:
URL: https://github.com/apache/ozone/pull/7988#discussion_r2015349283
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/rpc/RpcClient.java:
##########
@@ -1020,6 +1020,30 @@ public OzoneSnapshot getSnapshotInfo(String volumeName,
return OzoneSnapshot.fromSnapshotInfo(snapshotInfo);
}
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public OzoneSnapshot getSnapshotInfo(String volumeName,
+ String bucketName,
+ String snapshotName,
+ String omNodeId) throws IOException {
Review Comment:
Thank you for the review. Previously, I have two different APIs to be more
explicit to the client that if `omNodeId` is specified, it will be definitely
sent to that OM node and not the leader.
However, I think it's better to unify it.
--
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]