hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Flavio Paiva Junqueira (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ZOOKEEPER-719) Add throttling to BookKeeper client
Date Thu, 01 Apr 2010 22:26:27 GMT

     [ 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

I added a semaphore object to count the number of writes and reads pending to LedgerHandle.
This solution does not cause a deadlock in the case of bookie crashes, which happens if we
change the pendingAddOps ArrayDeque to a blocking data structure.

> 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
>             Fix For: 3.4.0
>
>         Attachments: 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.


Mime
View raw message