rakeshadr commented on code in PR #3480:
URL: https://github.com/apache/ozone/pull/3480#discussion_r888826074


##########
hadoop-ozone/interface-client/src/main/proto/OmClientProtocol.proto:
##########
@@ -101,7 +101,8 @@ enum Type {
 
   RevokeS3Secret = 93;
 
-  PurgeDirectories = 94;
+  PurgePaths = 94; // [deprecated = true]

Review Comment:
   @nandakumar131 I think, below test case will be happy, if we revert `case 
PurgePaths:` in OmUtils.java.
   
   ```
   Error:  
org.apache.hadoop.ozone.om.ratis.TestOzoneManagerRatisServer.testIsReadOnlyCapturesAllCmdTypeEnums
  Time elapsed: 0.693 s  <<< FAILURE!
   java.lang.AssertionError: PurgePaths is not categorized in 
OmUtils#isReadyOnly
        at org.junit.Assert.fail(Assert.java:89)
        at org.junit.Assert.assertTrue(Assert.java:42)
        at org.junit.Assert.assertFalse(Assert.java:65)
        at 
org.apache.hadoop.ozone.om.ratis.TestOzoneManagerRatisServer.testIsReadOnlyCapturesAllCmdTypeEnums(TestOzoneManagerRatisServer.java:194)
   ```



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