rocketmq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ROCKETMQ-243) BrokerData#selectBrokerAddr() picks the 1st element in the list of addresses
Date Mon, 10 Jul 2017 08:30:02 GMT

    [ 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 <rshtykh@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)

Mime
View raw message