mxsm commented on code in PR #4862:
URL: https://github.com/apache/rocketmq/pull/4862#discussion_r952050042


##########
controller/src/main/java/org/apache/rocketmq/controller/impl/manager/ReplicasInfoManager.java:
##########
@@ -288,7 +288,7 @@ public ControllerResult<GetReplicaInfoResponseHeader> 
getReplicaInfo(final GetRe
             result.setBody(new SyncStateSet(syncStateInfo.getSyncStateSet(), 
syncStateInfo.getSyncStateSetEpoch()).encode());
             return result;
         }
-        result.setCodeAndRemark(ResponseCode.CONTROLLER_INVALID_REQUEST, 
"Broker metadata is not existed");
+        
result.setCodeAndRemark(ResponseCode.CONTROLLER_INVALID_GETREPLICAINFO, "Broker 
metadata is not existed");

Review Comment:
   Good idea



-- 
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]

Reply via email to