[
https://issues.apache.org/jira/browse/BOOKKEEPER-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
xulei updated BOOKKEEPER-52:
----------------------------
Attachment: bookkeeper-52.patch
use synchronized(this) to Synchronous the subscribeMsgQueue consume and the new
message consume in asyncMessageConsume
> Message sequence confuse due to the subscribeMsgQueue@SubscribeResponseHandler
> ------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-52
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-52
> Project: Bookkeeper
> Issue Type: Bug
> Components: hedwig-client
> Affects Versions: 3.4.0
> Reporter: xulei
> Fix For: 3.4.0
>
> Attachments: bookkeeper-52.patch
>
>
> In setMessageHandler function, when subscribeMsgQueue is not empty, the main
> thread will consume the message in subscribeMsgQueue, at the same time, the
> messageHandler have been set, so the worker thread will consume new coming
> message in handleSubscribeMessage. So the message Sequence will be confused
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira