[ https://issues.apache.org/jira/browse/BOOKKEEPER-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15574292#comment-15574292 ]
ASF GitHub Bot commented on BOOKKEEPER-952: ------------------------------------------- GitHub user yzang opened a pull request: https://github.com/apache/bookkeeper/pull/61 Fix RegionAwareEnsemblePlacementPolicy allocate bookies evenly as much as possible across all regions https://issues.apache.org/jira/browse/BOOKKEEPER-952 RB_ID=880463 You can merge this pull request into a Git repository by running: $ git pull https://github.com/yzang/bookkeeper apache_master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/bookkeeper/pull/61.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #61 ---- commit d882c282bf2a6082722e078be56227789b7d0de8 Author: Yiming Zang <yz...@twitter.com> Date: 2016-10-12T22:54:34Z fix RegionAwareEnsemblePlacementPolicy test case fix the algorithm for balanced placement across regions. RB_ID=880463 ---- > Fix RegionAwarePlacementPolicy > ------------------------------ > > Key: BOOKKEEPER-952 > URL: https://issues.apache.org/jira/browse/BOOKKEEPER-952 > Project: Bookkeeper > Issue Type: Bug > Components: bookkeeper-server > Reporter: Yiming Zang > > TestRegionAwareEnsemblePlacementPolicy#testNewEnsembleWithThreeRegions is > failing because RegionAwareEnsemblePlacementPolicy is not working as expected. > The current allocation policy is not evenly across the regions. The write > quorum size is also not calculated correctly. > We need to fix the placement policy and then fix the the test case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)