szetszwo commented on code in PR #4234:
URL: https://github.com/apache/ozone/pull/4234#discussion_r1158094564
##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/protocol/OzoneManagerProtocol.java:
##########
@@ -983,4 +983,16 @@ EchoRPCResponse echoRPCReq(byte[] payloadReq,
int payloadSizeResp)
throws IOException;
+
+ /**
+ * Start the lease recovery of a file.
+ *
+ * @param volumeName - The volume name.
+ * @param bucketName - The bucket name.
+ * @param keyName - The key user want to recover.
+ * @return true if the file is already closed
+ * @throws IOException if an error occurs
+ */
+ boolean recoverLease(String volumeName, String bucketName,
+ String keyName) throws IOException;
Review Comment:
Let's keep it as-is and do it separately. It will be an easy but big change.
--
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]