You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2019/12/21 13:59:29 UTC

[GitHub] [zookeeper] eolivelli commented on a change in pull request #934: ZOOKEEPER-3301:Enforce the quota limit

eolivelli commented on a change in pull request #934: ZOOKEEPER-3301:Enforce the quota limit
URL: https://github.com/apache/zookeeper/pull/934#discussion_r360650315
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/KeeperException.java
 ##########
 @@ -403,7 +407,11 @@ public void setCode(int code) {
         /** The session has been closed by server because server requires client to do SASL authentication,
          *  but client is not configured with SASL authentication or configuted with SASL but failed
          *  (i.e. wrong credential used.). */
-        SESSIONCLOSEDREQUIRESASLAUTH(-124);
+        SESSIONCLOSEDREQUIRESASLAUTH(-124),
+        /** Exceeded the count quota that setted on the path.*/
+        COUNTQUOTAEXCEEDED(-125),
+        /** Exceeded the bytes quota that setted on the path.*/
 
 Review comment:
   "setted" -> "was set"

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services