You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Li Wang (Jira)" <ji...@apache.org> on 2021/01/23 01:00:01 UTC
[jira] [Commented] (ZOOKEEPER-3301) Enforce the quota limit
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270504#comment-17270504 ]
Li Wang commented on ZOOKEEPER-3301:
------------------------------------
[~maoling]. Thanks for your contribution! This is a great feature that we are really looking for. I noticed that the changes are in 3.7.0. Any idea when 3.7.0 will be released?
> Enforce the quota limit
> -----------------------
>
> Key: ZOOKEEPER-3301
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3301
> Project: ZooKeeper
> Issue Type: New Feature
> Reporter: Ling Mao
> Assignee: Ling Mao
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.7.0, 3.8.0
>
> Time Spent: 13h 20m
> Remaining Estimate: 0h
>
> We need a complete quota feature, not just the printing the warning logs which is a bit chicken ribs.
> [zk: localhost:2181(CONNECTED) 18] setquota -n 2 /quota_test
> [zk: localhost:2181(CONNECTED) 19] create /quota_test/child_1
> Created /quota_test/child_1
> [zk: localhost:2181(CONNECTED) 20] create /quota_test/child_2
> Created /quota_test/child_2
> [zk: localhost:2181(CONNECTED) 21] create /quota_test/child_3
> Created /quota_test/child_3
> look at the following logs:
> 2019-03-07 11:22:36,680 [myid:1] - WARN [SyncThread:0:DataTree@374] - Quota exceeded: /quota_test count=3 limit=2
> 2019-03-07 11:22:41,861 [myid:1] - WARN [SyncThread:0:DataTree@374] - Quota exceeded: /quota_test count=4 limit=2
--
This message was sent by Atlassian Jira
(v8.3.4#803005)