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 2017/07/10 08:30:02 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=16080015#comment-16080015 ] 

ASF GitHub Bot commented on ROCKETMQ-243:
-----------------------------------------

GitHub user shroman opened a pull request:

    https://github.com/apache/incubator-rocketmq/pull/130

    [ROCKETMQ-243] BrokerData#selectBrokerAddr() picks the 1st element in the list of addresses

    
    https://issues.apache.org/jira/browse/ROCKETMQ-243


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/shroman/incubator-rocketmq ROCKETMQ-243

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-rocketmq/pull/130.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 #130
    
----
commit f3a5cbf58858b4fc5565fe1e094303670753be61
Author: shroman <rs...@yahoo.com>
Date:   2017-07-10T08:25:48Z

    [ROCKETMQ-243] BrokerData#selectBrokerAddr() picks the 1st element in the list of addresses
    
    https://issues.apache.org/jira/browse/ROCKETMQ-243

----


> 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)