You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/12/13 07:10:48 UTC

[GitHub] merlimat commented on issue #1808: Allow to configure sticky reads

merlimat commented on issue #1808: Allow to configure sticky reads
URL: https://github.com/apache/bookkeeper/pull/1808#issuecomment-446865316
 
 
   @eolivelli @jvrao  @dlg99 @sijie @ivankelly I have updated the PR with the following: 
   
    * When enabled, `LedgerHandle` has the notion of a sticky bookie
    * The sticky bookie is initially selected at random (this helps when there are multiple readers that are independently reading different portions of the ledger concurrently).
    * If there are read failures, the ledger handle will pick a new sticky bookie, to avoid read impact.
    * Added tests
   
   I haven't addressed the case where E > W because I believe that the benefit in that scenario are not that big, compared to the case where E=W. It would be easy to add that afterward in any case.
   
   Please take a look.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services