[
https://issues.apache.org/jira/browse/BOOKKEEPER-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Kelly updated BOOKKEEPER-403:
----------------------------------
Attachment: BOOKKEEPER-403.diff
I was chatting to Sijie earlier about how this is a more general problem.
Basically, we submit callbacks to the LedgerManager which, in normal operation
run in the ZK callback thread. I proposed we create a wrapper around
GenericCallback, which, when passed to the LedgerManager, will run the callback
in the correct thread. The attached patch implements this.
> ReReadMetadataCb is not executed in the thread responsible for that ledger
> --------------------------------------------------------------------------
>
> Key: BOOKKEEPER-403
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-403
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-client
> Affects Versions: 4.2.0
> Reporter: Aniruddha
> Assignee: Aniruddha
> Fix For: 4.2.0
>
> Attachments: BK-403.patch, BOOKKEEPER-403.diff
>
>
> Attached a patch to execute the callback in bk.mainWorkerPool instead of on
> the zookeeper thread.
--
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