[
https://issues.apache.org/jira/browse/BOOKKEEPER-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403946#comment-13403946
]
Ivan Kelly commented on BOOKKEEPER-247:
---------------------------------------
The problem was quite simple in the end. The code that ensures I only checked
the correct replicas, only worked if the number of entries in the ledger was
greater than the number of bookies in the ensemble. Adding two checks fixed it.
I also moved around the code a bit. I've pushed it to github and attached a new
patch. I still need to add tests to this, so the patch shouldn't be considered
ready for submission yet.
> Detection of under replication
> ------------------------------
>
> Key: BOOKKEEPER-247
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-247
> Project: Bookkeeper
> Issue Type: Sub-task
> Components: bookkeeper-client, bookkeeper-server
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Attachments: BOOKKEEPER-247.patch
>
>
> This JIRA discusses how the bookkeeper system will detect underreplication of
> ledger entries.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira