You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "liuxc1 (via GitHub)" <gi...@apache.org> on 2024/12/26 03:43:20 UTC
[I] [Bug] fail to get next broker id from controller [rocketmq]
liuxc1 opened a new issue, #9082:
URL: https://github.com/apache/rocketmq/issues/9082
### Before Creating the Bug Report
- [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
- [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate.
- [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
### Runtime platform environment
Centos7.9
### RocketMQ version
5.3.0
### JDK Version
1.8
### Describe the Bug
2024-12-26 10:55:08 INFO main - Start service thread:TimerDequeuePutMessageService started:true lastThread:Thread[TimerDequeuePutMessageService,5,main]
2024-12-26 10:55:08 INFO main - Try to start service thread:TimerFlushService started:false lastThread:null
2024-12-26 10:55:08 INFO main - Start service thread:TimerFlushService started:true lastThread:Thread[TimerFlushService,5,main]
2024-12-26 10:55:08 INFO main - dns lookup address by domain success, domain=192.168.24.241:8878, result=[192.168.24.241:8878]
2024-12-26 10:55:09 INFO main - Update controller leader address to 127.0.0.1:8878
2024-12-26 10:55:09 INFO main - First time sync controller metadata success, change state to: FIRST_TIME_SYNC_CONTROLLER_METADATA_DONE
2024-12-26 10:55:09 INFO main - Confirm now register state: INITIAL
2024-12-26 10:55:09 ERROR main - fail to get next broker id from controller
org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to 127.0.0.1:8878 failed
at org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:572)
### Steps to Reproduce
启动:bin/mqbroker -c conf/controller/quick-start/broker-n0.conf
配置:
brokerClusterName = DefaultCluster
brokerName = broker-a
brokerId = -1
brokerRole = SLAVE
deleteWhen = 04
fileReservedTime = 48
enableControllerMode = true
controllerAddr = 192.168.24.241:8878
namesrvAddr = 192.168.24.241:9876
### What Did You Expect to See?
正确配置
enableControllerMode = true
controllerAddr = 192.168.24.241:8878
但是通过远程获取BrokerId 替换成了本机ip
### What Did You See Instead?
未能正确获取master
### Additional Context
_No response_
--
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.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] fail to get next broker id from controller [rocketmq]
Posted by "liuxc1 (via GitHub)" <gi...@apache.org>.
liuxc1 closed issue #9082: [Bug] fail to get next broker id from controller
URL: https://github.com/apache/rocketmq/issues/9082
--
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.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org