Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide option to enforce minNumRacksPerWriteQuorum #1495

Closed
reddycharan opened this issue Jun 7, 2018 · 0 comments
Closed

provide option to enforce minNumRacksPerWriteQuorum #1495

reddycharan opened this issue Jun 7, 2018 · 0 comments
Milestone

Comments

@reddycharan
Copy link
Contributor

FEATURE REQUEST

  1. Please describe the feature you are requesting.

#1397 introduces feature to have bookies from "minNumRacksPerWriteQuorum" number of racks per writequorum, instead of just 2 racks. But it doesn't enforces 'minNumRacksPerWriteQuorum" number of racks. If it cann't find a bookie to honor minNumRacksPerWriteQuorum then it will fallback to random. So we need an option to enforce the guarantee of minNumRacksPerWriteQuorum if it is enabled. If it cann't find a bookie to enforce the guarantee then the API in RackawareEnsemblePlacementPolicy should throw BKNotEnoughBookiesException.

  1. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

It is kind of must-have feature for our uses-case to provide durability guarantee across the faultzones (racks).

reddycharan added a commit to reddycharan/bookkeeper that referenced this issue Jun 13, 2018
Provide an option to enforce the guarantee of minNumRacksPerWriteQuorum
if it is enabled. If it cann't find a bookie to enforce the guarantee
then the API in RackawareEnsemblePlacementPolicy should throw
BKNotEnoughBookiesException.
reddycharan added a commit to reddycharan/bookkeeper that referenced this issue Jun 13, 2018
reddycharan added a commit to reddycharan/bookkeeper that referenced this issue Jun 19, 2018
Provide an option to enforce the guarantee of minNumRacksPerWriteQuorum
if it is enabled. If it cann't find a bookie to enforce the guarantee
then the API in RackawareEnsemblePlacementPolicy should throw
BKNotEnoughBookiesException.
reddycharan added a commit to reddycharan/bookkeeper that referenced this issue Jun 19, 2018
@sijie sijie closed this as completed in 10c5103 Jun 20, 2018
@eolivelli eolivelli added this to the 4.8.0 milestone Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants