Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4375

Quota cannot limit the specify value when multiply clients create/set znodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.8.0, 3.9.0
    • None
    • None
    • None

    Description

      [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
      
      

      Attachments

        Activity

          People

            maoling Ling Mao
            maoling Ling Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: