[
https://issues.apache.org/jira/browse/BOOKKEEPER-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484641#comment-13484641
]
Yixue (Andrew) Zhu commented on BOOKKEEPER-362:
-----------------------------------------------
Thanks Sijie for your comment.
Re. 1), it is not just for test. For standalone usage, similar with
LocalDBPersistenceManager, which is not in test.
Re. 2) I would like specific test, as it is more region specific.
Re. 3) regiontopic2version is ZK specific, I do not think it should be in
RegionManager.
Re. 4) If/when we have other RemoteSubManager that can fail metadata
persistence, AND the exception is thrown, we can certainly translate the
exception to the specific context. Does it make sense?
Re. 5) the region address is from RegionManager constructor. It is actually the
VIP.
for (final String hub : cfg.getRegions()) {
clients.add(hubClientFactory.create(new HedwigSocketAddress(hub)));
}
> Local subscriptions fail if remote region is down
> -------------------------------------------------
>
> Key: BOOKKEEPER-362
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-362
> Project: Bookkeeper
> Issue Type: Bug
> Components: hedwig-server
> Affects Versions: 4.2.0
> Reporter: Aniruddha
> Assignee: Yixue (Andrew) Zhu
> Priority: Critical
> Labels: hedwig
> Fix For: 4.2.0
>
> Attachments: rebase_remoteregion.patch
>
>
> Currently, local subscriptions fail if the remote region hubs are down, even
> if the local hub has subscribed to the remote topic previously. Because of
> this, one region cannot function independent of the other.
> A more detailed discussion related to this can be found here
> http://mail-archives.apache.org/mod_mbox/zookeeper-bookkeeper-dev/201208.mbox/%3cCAOLhyDQSOF+Y+pvnyrd-HJRq1YEr=c8ok_b3_mr81r1g-9m...@mail.gmail.com%3e
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira