[
https://issues.apache.org/jira/browse/ROCKETMQ-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15780114#comment-15780114
]
ASF GitHub Bot commented on ROCKETMQ-19:
----------------------------------------
GitHub user Zhang-Ke opened a pull request:
https://github.com/apache/incubator-rocketmq/pull/17
[ROCKETMQ-19] Synchronize LinkedList.add() in multi-thread
[ROCKETMQ-19] Synchronize LinkedList.add() in multi-thread
JIRRA ISSUE: [https://issues.apache.org/jira/browse/ROCKETMQ-19](url)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Zhang-Ke/incubator-rocketmq ROCKETMQ-19
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-rocketmq/pull/17.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #17
----
commit 0abd5265aa11df31492412d15192628b3f46ecc2
Author: zhangke <[email protected]>
Date: 2016-12-27T10:21:18Z
[ROCKETMQ-19] Synchronize LinkedList.add() in multi-thread
----
> Thread-unsafe in MQAdminImpl#queryMessage
> -----------------------------------------
>
> Key: ROCKETMQ-19
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-19
> Project: Apache RocketMQ
> Issue Type: Bug
> Components: rocketmq-client
> Affects Versions: 4.0.0-incubating
> Reporter: ZhangKe
> Assignee: vintagewang
> Fix For: 4.0.0-incubating
>
>
> LinkedList.add() is not thread-safe, so it must be synchronized externally
> when using concurrently.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)