You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/03/07 06:14:43 UTC

[GitHub] [rocketmq] dut-xiayuan opened a new issue #1057: slave instance can not synchronize data from master

dut-xiayuan opened a new issue #1057: slave instance can not synchronize data from master
URL: https://github.com/apache/rocketmq/issues/1057
 
 
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   - What did you do (The steps to reproduce)?
   - What did you expect to see?
   - What did you see instead?
   
   Hi, when I add rocketmq slave instance to a 2m-noslave cluster, the added slave instance does not synchronize data from master which has the same broker name as expected. 
   
   I found that the master instance got a private IP address(docker0) as haServerAddr and the slave could not reach.
   
   2. Please tell us about your environment:
   
   Apache rocketmq version: **4.3.1**
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   
   I think there should be a more comprehensive approach in below method to private address filtering to avoid such confusing issues
   
   **RemotingUtil.getLocalAddress()**
   ![image](https://user-images.githubusercontent.com/5948633/53935844-d8776280-40e2-11e9-89e1-44a8b0ad624a.png)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services