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 subversion and git services (JIRA)" <ji...@apache.org> on 2017/08/01 07:27:00 UTC
[jira] [Commented] (ROCKETMQ-243) BrokerData#selectBrokerAddr()
picks the 1st element in the list of addresses
[ https://issues.apache.org/jira/browse/ROCKETMQ-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108508#comment-16108508 ]
ASF subversion and git services commented on ROCKETMQ-243:
----------------------------------------------------------
Commit 3672f70e9fb99b73d9c3a6102ecab06cd87d3da5 in incubator-rocketmq's branch refs/heads/master 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 <rs...@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)