jiajunwang commented on a change in pull request #1190:
URL: https://github.com/apache/helix/pull/1190#discussion_r463338776



##########
File path: 
helix-rest/src/main/java/org/apache/helix/rest/server/resources/zookeeper/ZooKeeperAccessor.java
##########
@@ -52,12 +51,15 @@
   private static final Logger LOG = 
LoggerFactory.getLogger(ZooKeeperAccessor.class.getName());
   private BaseDataAccessor<byte[]> _zkBaseDataAccessor;
 
+  private static final String PATH_STR = "path";
+
   public enum ZooKeeperCommand {
     exists,
     getBinaryData,
     getStringData,
     getChildren,
-    getStat
+    getStat,
+    delete

Review comment:
       I can see where you are coming from. Could you check the latest change 
that I have modified the method to use DELETE verb according to what Huizhi 
suggested? I think it is cleaner. However, in this case, we need some more 
parameters to separate the cases. And I think it might be overcomplicated.
   
   @dasahcc and @pkuwm please also share your opinion since you also 
contributed to the Helix rest.




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

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