eolivelli opened a new pull request #2493:
URL: https://github.com/apache/bookkeeper/pull/2493


   ### Motivation
   If you have a very small cluster, 3 bookies, you must use **2-2-2** as 
replication parameters in order to guarantee durability and tolerate the 
failure of at least one bookie.
   With this situation you cannot leverage the striping feature of BookKeeper, 
when **ensembleSize > writeQuorumSize**.
   
   With striping you can distribute your data among all of the bookies, and use 
better the available disk space.
   You can also exploit the ability to write to/read from more disks (bookies) 
in parallel, achieving better overall performances.
   
   With this change we introduce a new client option "opportunistic striping", 
that basically tells to the BK client to use as much bookies as configured in 
the ensembleSize parameter in the best case scenario, and to use less and less 
bookies, up to the configured writeQuorumSize.
   
   ### Changes
   - New ClientConfiguration option "opportunisticStriping"
   - in case of opportunisticStriping the client is allowed to use less bookies 
than the requested ensemble size, up to writeQuorumSize
   - add test cases


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to