[
https://issues.apache.org/jira/browse/BOOKKEEPER-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13738312#comment-13738312
]
Ivan Kelly commented on BOOKKEEPER-632:
---------------------------------------
The api is clearer if waiting for notification is separated from the reading.
I've attached a patch that does this.
Also, auditor shouldn't call #register on a passed in ZK object. This
overwrites the previous watcher, which could lead to unpredictable behaviour.
In any case, Auditor shouldn't watch for expired. It's already watched for by
the watcher created in AutoRecoveryMain.
> AutoRecovery should consider read only bookies
> ----------------------------------------------
>
> Key: BOOKKEEPER-632
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-632
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-auto-recovery, bookkeeper-server
> Affects Versions: 4.2.1, 4.3.0
> Reporter: Vinay
> Assignee: Vinay
> Fix For: 4.2.2, 4.3.0
>
> Attachments:
> 0001-BOOKKEEPER-632-AutoRecovery-should-consider-read-onl.patch,
> 0001-BOOKKEEPER-632-AutoRecovery-should-consider-read-onl.patch,
> BOOKKEEPER-632-branch-4.2.patch, BOOKKEEPER-632-branch-4.2.patch,
> BOOKKEEPER-632.patch, BOOKKEEPER-632.patch, BOOKKEEPER-632.patch,
> BOOKKEEPER-632.patch, BOOKKEEPER-632.patch, BOOKKEEPER-632.patch,
> BOOKKEEPER-632.patch
>
>
> Autorecovery Auditor should consider the readonly bookies as Available
> Bookies while publishing the under-replicated ledgers.
> Also AutoRecoveryDaemon should shutdown if the local bookie is readonly
--
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