[
https://issues.apache.org/jira/browse/BOOKKEEPER-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15229742#comment-15229742
]
Sijie Guo commented on BOOKKEEPER-915:
--------------------------------------
[~sboobna] we actually have a fix at Twitter's branch:
https://github.com/twitter/bookkeeper/commit/fc7e171135a58cddb9e91f5f614b3ceb6f9f9fee
would willing to consolidate the work if you haven't started yet.
> Auto replication should honor ensemble placement policy
> -------------------------------------------------------
>
> Key: BOOKKEEPER-915
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-915
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-server
> Affects Versions: 4.4.0
> Reporter: Siddharth Sunil Boobna
> Assignee: Siddharth Sunil Boobna
> Fix For: 4.5.0
>
>
> ReplicationWorker does not honor Ensemble Placement Policy.
> The target bookie in ReplicationWorker should only be able to replicate based
> on the placement policy, else give up the underreplicated lock. For example,
> in rackaware policy, the target bookie should only be able to replicate if
> its not in the same rack as the other bookies in the ensemble, or if there
> isn't any other bookie available in different racks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)