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 22:05:58 UTC

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

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


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

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

Posted by "Patrick Hunt (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-1088:
------------------------------------

    Fix Version/s:     (was: 3.3.4)
                       (was: 3.4.0)
    
> 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
>   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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Mahadev konar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048974#comment-13048974 ] 

Mahadev konar commented on ZOOKEEPER-1088:
------------------------------------------

camille, 
 Should we fix the documentation of atleast the command output for better reporting?

> 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

        

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

Posted by "Camille Fournier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Camille Fournier resolved ZOOKEEPER-1088.
-----------------------------------------

    Resolution: Won't Fix

> 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

        

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

Posted by "Camille Fournier (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Camille Fournier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049964#comment-13049964 ] 

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

Yes. We should probably also make setquota accept both -n and -b when called from the client instead of barfing. Very frustrating. 

> 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