[
https://issues.apache.org/jira/browse/BOOKKEEPER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529170#comment-13529170
]
Ivan Kelly commented on BOOKKEEPER-205:
---------------------------------------
The issue is in MSLedgerManagerFactory.MsLedgerManager#doAsyncProcessLedgers.
{code}
// no entries now
if (!cursor.hasMoreEntries()) {
finalCb.processResult(successRc, null, context);
}
{code}
Should be
{code}
// no entries now
if (!cursor.hasMoreEntries()) {
finalCb.processResult(successRc, null, context);
return;
}
{code}
without the return, it's going into a loop and eating CPU, which is causing the
other things on the machine to be starved, hence the ZK session timeouts.
> implement a MetaStore based ledger manager for bookkeeper client.
> -----------------------------------------------------------------
>
> Key: BOOKKEEPER-205
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-205
> Project: Bookkeeper
> Issue Type: Sub-task
> Components: bookkeeper-client
> Reporter: Sijie Guo
> Assignee: Jiannan Wang
> Fix For: 4.2.0
>
> Attachments: BOOKKEEPER-205.diff, BOOKKEEPER-205.diff,
> TEST-org.apache.bookkeeper.replication.AuditorLedgerCheckerTest.xml
>
>
> implement a MetaStore based ledger manager for bookkeeper client.
--
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