You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Camille Fournier (JIRA)" <ji...@apache.org> on 2011/06/08 23:03:58 UTC

[jira] [Commented] (ZOOKEEPER-1088) delQuota does not remove the quota node and subesquent setquota calls for that path will fail

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

Camille Fournier commented on ZOOKEEPER-1088:
---------------------------------------------

Ah this appears to be just a really poorly-documented feature. If no flag is passed, it will completely delete the node. If both flags are passed, it will swallow the command. Deciding whether to clean that up or just close this.

> delQuota does not remove the quota node and subesquent setquota calls for that path will fail
> ---------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1088
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1088
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.3.3
>            Reporter: Camille Fournier
>            Assignee: Camille Fournier
>             Fix For: 3.3.4, 3.4.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> sequota -b 1000 /testing
> delquota -b /testing
> setquota -n 1024 /testing
> Command failed: java.lang.IllegalArgumentException: /testing has a parent /zookeeper/quota/testing which has a quota

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira