maoling commented on a change in pull request #934: ZOOKEEPER-3301:Enforce the
quota limit
URL: https://github.com/apache/zookeeper/pull/934#discussion_r383102535
##########
File path:
zookeeper-server/src/main/java/org/apache/zookeeper/server/DataTree.java
##########
@@ -602,11 +584,11 @@ public void deleteNode(String path, long zxid)
String lastPrefix = getMaxPrefixWithQuota(path);
Review comment:
- Yes, ` parentName.startsWith(quotaZookeeper)` is closer to the truth. we
can create another ticket to fix it
- substring(quotaZookeeper.length()) are all replaced with trimQuotaPath
----------------------------------------------------------------
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]
With regards,
Apache Git Services