DaveTeng0 commented on code in PR #3614:
URL: https://github.com/apache/ozone/pull/3614#discussion_r932507529


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerRequestHandler.java:
##########
@@ -917,6 +917,33 @@ public static OMResponse 
disallowGetFileStatusWithECReplicationConfig(
     return resp;
   }
 
+  @RequestFeatureValidator(
+          conditions = ValidationCondition.OLDER_CLIENT_REQUESTS,
+          processingPhase = RequestProcessingPhase.POST_PROCESS,
+          requestType = Type.EchoRPC
+  )
+  public static OMResponse echoRPC(
+          OMRequest req, OMResponse resp, ValidationContext ctx)
+          throws ServiceException {
+
+    if (!resp.hasEchoRPCResponse()) {
+      return resp;
+    }
+    if (!req.getEchoRPCRequest().hasIsEmptyResp() ||

Review Comment:
   Make sense, I'll change this part accordingly!



-- 
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