RongtongJin commented on code in PR #6663:
URL: https://github.com/apache/rocketmq/pull/6663#discussion_r1181178266
##########
broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java:
##########
@@ -600,6 +600,7 @@ private void confirmNowRegisteringState() {
if (this.brokerMetadata.isLoaded()) {
this.registerState = RegisterState.CREATE_METADATA_FILE_DONE;
this.brokerControllerId = brokerMetadata.getBrokerId();
+ this.haService.setBrokerControllerId(this.brokerControllerId);
Review Comment:
If it is the first time to start (without brokerIdentity file), the
brokerControllerId will be forgotten to be set to HAService.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]