You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@rocketmq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/29 07:11:58 UTC
[jira] [Commented] (ROCKETMQ-25) Query Msg by key: Possible
concurrent access to LinkedList
[ https://issues.apache.org/jira/browse/ROCKETMQ-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15784722#comment-15784722 ]
ASF GitHub Bot commented on ROCKETMQ-25:
----------------------------------------
GitHub user lizhanhui opened a pull request:
https://github.com/apache/incubator-rocketmq/pull/22
[ROCKETMQ-25] Possible data race while query msg by key
Refer to JIRA: https://issues.apache.org/jira/browse/ROCKETMQ-25
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lizhanhui/incubator-rocketmq master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-rocketmq/pull/22.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 #22
----
commit 89e5898a59f64d0468d5d43215d22764c73ff081
Author: Zhanhui Li <li...@apache.org>
Date: 2016-12-29T06:58:59Z
Fix data race issue
----
> Query Msg by key: Possible concurrent access to LinkedList
> ----------------------------------------------------------
>
> Key: ROCKETMQ-25
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-25
> Project: Apache RocketMQ
> Issue Type: Bug
> Components: rocketmq-client, rocketmq-tools
> Affects Versions: 4.0.0-incubating
> Environment: All
> Reporter: Zhanhui Li
> Assignee: vintagewang
> Priority: Minor
> Fix For: 4.0.0-incubating
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> As queries are delivered to all brokers asynchronously, callbacks may be executed simultaneously, which results in concurrent access to LinkedList, a thread-unsafe container.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)