[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-719:
---------------------------------------------

    Attachment: ZOOKEEPER-719.patch

Submitting a new patch that uses a system property.

In LedgerHandle, I'm currently throwing NumberFormatException instead of 
catching it locally. My rationale is that if a user is trying to set the 
throttling threshold, then we should not proceed when the input value is not 
correct. To catch and handle a NFE exception that may arise in both 
LedgerCreateOp and LedgerOpenOp, I created a new BKException called 
BKIncorrectParameterException.

 

> Add throttling to BookKeeper client
> -----------------------------------
>
>                 Key: ZOOKEEPER-719
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-719
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: contrib-bookkeeper
>    Affects Versions: 3.3.0
>            Reporter: Flavio Paiva Junqueira
>            Assignee: Flavio Paiva Junqueira
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-719.patch, ZOOKEEPER-719.patch, 
> ZOOKEEPER-719.patch
>
>
> Add throttling to client to control the rate of operations to bookies. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to