zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2563) A revisit to setquota
Date Wed, 17 Jul 2019 21:34:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16887439#comment-16887439
] 

Hudson commented on ZOOKEEPER-2563:
-----------------------------------

SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #620 (See [https://builds.apache.org/job/ZooKeeper-trunk/620/])
ZOOKEEPER-2563: A revisit to setquota (andor: rev a6c36b69cc72d7d67e392dab5360007d6f737bef)
* (edit) zookeeper-docs/src/main/resources/markdown/zookeeperQuotas.md
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/ZooKeeperMain.java
* (edit) zookeeper-server/src/main/java/org/apache/zookeeper/cli/SetQuotaCommand.java
* (edit) zookeeper-server/src/test/java/org/apache/zookeeper/test/ZooKeeperQuotaTest.java
* (edit) zookeeper-docs/src/main/resources/markdown/zookeeperCLI.md
* (edit) zookeeper-server/src/test/java/org/apache/zookeeper/test/QuorumQuotaTest.java


> A revisit to setquota
> ---------------------
>
>                 Key: ZOOKEEPER-2563
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2563
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.1
>            Reporter: Rakesh Kumar Singh
>            Assignee: Rakesh Kumar Singh
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> delquota -[n|b] is not deleting the set quota properly
> Steps to reproduce:-
> 1. Start zookeeper in cluster mode (ssl)
> 2. create some node say /test
> 3. Run command as listquota says (as expected)
> quota for /test does not exist
> 4. setquota let say
> setquota -n 10 /test
> 5. Now try to delete this as below
> delquota -n /test
> 6. now check the quota
> [zk: localhost:2181(CONNECTED) 1] listquota /test
> absolute path is /zookeeper/quota/test/zookeeper_limits
> Output quota for /test count=-1,bytes=-1
> Output stat for /test count=1,bytes=5
> 7. Here it is not deleted quota node for test
> 8. Now try to set some new quota
> It fails as it is not deleted correctly while delete
> [zk: localhost:2181(CONNECTED) 3] setquota -n 11 /test
> Command failed: java.lang.IllegalArgumentException: /test has a parent /zookeeper/quota/test
which has a quota
> But through delquota it is able to delete



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message