[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ling Mao updated ZOOKEEPER-4375:
--------------------------------
    Affects Version/s: 3.9.0

> Quota cannot limit the specify value when multiply clients create/set znodes
> ----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-4375
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4375
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.8.0, 3.9.0
>            Reporter: Ling Mao
>            Assignee: Ling Mao
>            Priority: Major
>
> {code:java}
> [zk: 127.0.0.1:2180(CONNECTED) 0] create /benchmark-09-14 "123"
> Created /benchmark-09-14
> [zk: 127.0.0.1:2180(CONNECTED) 1] setquota -N 100 /benchmark-09-14
> [zk: 127.0.0.1:2180(CONNECTED) 2]
> [zk: 127.0.0.1:2180(CONNECTED) 2]
> [zk: 127.0.0.1:2180(CONNECTED) 2] listquota /benchmark-09-14
> absolute path is /zookeeper/quota/benchmark-09-14/zookeeper_limits
> Output quota for /benchmark-09-14 
> count=-1,bytes=-1=;byteHardLimit=-1;countHardLimit=100
> Output stat for /benchmark-09-14 count=115,bytes=135999
> [zk: 127.0.0.1:2180(CONNECTED) 3] getAllChildrenNumber /benchmark-09-14
> 114
> # we have 50 multiply concurrent client to create zonods under the parent 
> node:/benchmark-09-14
> ➜  YCSB git:(master) ✗ ./bin/ycsb load zookeeper -s -threads 50 -P 
> workloads/workloadb -p zookeeper.connectString=127.0.0.1:2180/benchmark-09-14
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to