Flavio Paiva Junqueira updated ZOOKEEPER-383:

    Attachment: ZOOKEEPER-383.patch

This is a preliminary patch. It works and contains a unit test. It needs a 
little bit of cleanup before being committed, though. Also, I think it would be 
good to have the synchronous versions of create, open, and close calling the 
respective asynchronous versions, just as we do with addEntry and readEntries, 
to avoid repetition of code. Because this patch corresponds to such a major 
change, I wonder if it would be best to discuss and implement this last 
suggestion in a separate jira.

> Asynchronous version of createLedger()
> --------------------------------------
>                 Key: ZOOKEEPER-383
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-383
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: contrib-bookkeeper
>            Reporter: Utkarsh Srivastava
>            Assignee: Flavio Paiva Junqueira
>         Attachments: ZOOKEEPER-383.patch
> While there are async versions for read and write, there is no async version 
> for creating a ledger. This can cause applications to have to change their 
> whole thread design. 
> It should be easier and more consistent to add an async version of 
> createLedger().

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