Siddharth Sunil Boobna created BOOKKEEPER-900:
-------------------------------------------------
Summary: 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
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)