You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "maoling (JIRA)" <ji...@apache.org> on 2018/08/27 09:43:00 UTC

[jira] [Commented] (ZOOKEEPER-2564) No message is prompted when trying to delete quota with different quota option

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

maoling commented on ZOOKEEPER-2564:
------------------------------------

[~rakeshsingh],[~chenyuyun-emc], [~hanm]

For my test, It seems that we cannot both setquota for count(-n) and size(-b) for one specified nodePath.
when want to delete quota,*delquota /path*
Is it a design flaw?

> No message is prompted when trying to delete quota with different quota option
> ------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2564
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2564
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.1
>            Reporter: Rakesh Kumar Singh
>            Assignee: Rakesh Kumar Singh
>            Priority: Minor
>
> No message is prompted when trying to delete quota with different quota option.
> Steps to reproduce:-
> 1. Start zookeeper in cluster mode 
> 2. Create some node and set quota like
> setquota -n 10 /test
> 3. Now try to delete as below:-
> delquota -b /test
> Here no message/exception is prompted. We should prompt message like 
> "Byte Quota does not exist for /test"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)