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

Sijie Guo commented on BOOKKEEPER-758:
--------------------------------------

to be clear, the multiple callbacks is internally in bk client, the user will 
only get one callback. the benefit to the code here is: when user received a 
LAC response from any bookie, it could move on to read the entries w/o waiting 
other bookies responses; so the reading entries could be paralleled with 
receiving LAC responses from other bookies. the benefit isn't the goal of this 
API, this API is to not block readLAC on waiting for LAC responses from 
multiple bookies.

> Add TryReadLastAddConfirmed API
> -------------------------------
>
>                 Key: BOOKKEEPER-758
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-758
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-client
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.3.0
>
>         Attachments: BOOKKEEPER-758.diff, BOOKKEEPER-758.v2.diff
>
>
> add TryReadLastConfirmed to read last confirmed without coverage checking, as 
> for readers which polls LAC, they just need LAC.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to