Github user Jaskey commented on the issue: https://github.com/apache/incubator-rocketmq/pull/130 @shroman Sorry I misunderstand this method that I though it returns the master address, since it is prefered to return the master address then slave, renaming seems to be not necessary while comment should be modified since it is only randomly pick while master is not found, thus only slave will be randomly pick.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---