[
https://issues.apache.org/jira/browse/BOOKKEEPER-898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15174894#comment-15174894
]
ASF GitHub Bot commented on BOOKKEEPER-898:
-------------------------------------------
GitHub user sboobna opened a pull request:
https://github.com/apache/bookkeeper/pull/19
BOOKKEEPER-898: listen to read only bookie changes also in auditor
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sboobna/bookkeeper BOOKKEEPER-898
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/19.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 #19
----
commit 287dc536580f6c3c99d1f866634a44d3f62e0674
Author: Siddharth Boobna <[email protected]>
Date: 2016-02-19T20:03:07Z
BOOKKEEPER-898: listen to read only bookie changes also in auditor
Change-Id: I0c0bb0e8bc2cbf9004aa2144f002d8200d7a1c6b
Conflicts:
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java
----
> Underreplication doesn't get triggered when a read only bookie is shut down
> ---------------------------------------------------------------------------
>
> Key: BOOKKEEPER-898
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-898
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-auto-recovery
> Affects Versions: 4.3.2
> Reporter: Siddharth Sunil Boobna
> Assignee: Siddharth Sunil Boobna
>
> The auditor doesn't pick up a bookie shut down from read only mode. The
> watcher on child nodes of "/ledgers/available" node on zk doesn't get
> triggered if there is any change in the children of any of those child nodes
> ("/ledgers/available/readonly").
> Solution:
> The auditor needs to set another child watcher on read only bookie node on zk.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)