You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/14 05:37:20 UTC

[jira] [Commented] (BOOKKEEPER-952) Fix RegionAwarePlacementPolicy

    [ 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)