rocketmq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ROCKETMQ-243) BrokerData#selectBrokerAddr() picks the 1st element in the list of addresses
Date Wed, 12 Jul 2017 13:05:00 GMT

    [ https://issues.apache.org/jira/browse/ROCKETMQ-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16083941#comment-16083941
] 

ASF subversion and git services commented on ROCKETMQ-243:
----------------------------------------------------------

Commit 3672f70e9fb99b73d9c3a6102ecab06cd87d3da5 in incubator-rocketmq's branch refs/heads/develop
from shroman
[ https://git-wip-us.apache.org/repos/asf?p=incubator-rocketmq.git;h=3672f70 ]

[ROCKETMQ-243] Avoid picking the 1st element in the list of addresses for BrokerData#selectBrokerAddr().

Signed-off-by: shroman <rshtykh@yahoo.com>


> BrokerData#selectBrokerAddr() picks the 1st element in the list of addresses
> ----------------------------------------------------------------------------
>
>                 Key: ROCKETMQ-243
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-243
>             Project: Apache RocketMQ
>          Issue Type: Improvement
>          Components: rocketmq-commons
>    Affects Versions: 4.1.0-incubating
>            Reporter: Roman Shtykh
>            Assignee: Roman Shtykh
>            Priority: Minor
>
> I wonder if this can cause broker contention. Therefore I propose to pick the address
at least in a random manner.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message