[ISSUE #4857] Fix broker can't auto register to controller again (#4862)

This commit is contained in:
mxsm
2022-08-25 10:03:57 +08:00
committed by GitHub
parent a1d2a73255
commit 0909aa91a2
4 changed files with 24 additions and 5 deletions
@@ -288,7 +288,7 @@ public class ReplicasInfoManager {
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_BROKER_METADATA_NOT_EXIST, "Broker metadata is not existed");
return result;
}