[
https://issues.apache.org/jira/browse/BOOKKEEPER-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sijie Guo resolved BOOKKEEPER-952.
----------------------------------
Resolution: Fixed
Fix Version/s: 4.5.0
Issue resolved by merging pull request 61
[https://github.com/apache/bookkeeper/pull/61]
{noformat}
commit 4383b0b171d5fdfcdfa55c196998bbc6b7fdc260
Author: Yiming Zang <[email protected]>
AuthorDate: Thu Oct 20 10:38:33 2016 -0700
Commit: Sijie Guo <[email protected]>
CommitDate: Thu Oct 20 10:38:33 2016 -0700
BOOKKEEPER-952: Fix RegionAwareEnsemblePlacementPolicy
allocate bookies evenly as much as possible across all regions
https://issues.apache.org/jira/browse/BOOKKEEPER-952
RB_ID=880463
Author: Yiming Zang <[email protected]>
Reviewers: [email protected] <[email protected]>
Closes #61 from yzang/apache_master and squashes the following commits:
a0a9979 [Yiming Zang] fix Inefficient use of keySet iterator instead of
entrySet iterator
d882c28 [Yiming Zang] fix RegionAwareEnsemblePlacementPolicy test case fix
the algorithm for balanced placement across regions.
{noformat}
> 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
> Assignee: Yiming Zang
> Fix For: 4.5.0
>
>
> 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)