[
https://issues.apache.org/jira/browse/ROCKETMQ-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080165#comment-16080165
]
ASF GitHub Bot commented on ROCKETMQ-243:
-----------------------------------------
Github user shroman commented on the issue:
https://github.com/apache/incubator-rocketmq/pull/130
@Jaskey It returns a random broker address if the one with MASTER_ID is not
found. Why do you suggest renaming?
I hope the execution flow doesn't depend on the current method
implementation and broker address change is ok -- otherwise it is a huge flaw
for a distributed system like this. Guys, please share your thoughts.
> 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)