[
https://issues.apache.org/jira/browse/BOOKKEEPER-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sijie Guo resolved BOOKKEEPER-900.
----------------------------------
Resolution: Fixed
Fix Version/s: 4.4.0
Issue resolved by pull request 17
[https://github.com/apache/bookkeeper/pull/17]
> read only bookie runs replicator and does not release the under replicated
> lock after failing
> ---------------------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-900
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-900
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-auto-recovery
> Affects Versions: 4.3.2
> Reporter: Siddharth Sunil Boobna
> Assignee: Siddharth Sunil Boobna
> Fix For: 4.4.0
>
>
> ReplicationWorker throws BkWriteOnReadOnlyBookieException here:
> https://github.com/apache/bookkeeper/blob/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/replication/ReplicationWorker.java#L255
> and does not release the under replicated lock.
> Solution:
> Release the under replicated lock before throwing
> BkWriteOnReadOnlyBookieException and make the replication worker wait till
> the bookie becomes writable again.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)