Oliverwqcwrw opened a new issue, #4726:
URL: https://github.com/apache/rocketmq/issues/4726
**BUG REPORT**
1. Please describe the issue you observed:
- What did you do (The steps to reproduce)?
In
`org.apache.rocketmq.namesrv.processor.DefaultRequestProcessor#unregisterBroker`
UnregisterBroker always success although is failed
>
if
(!this.namesrvController.getRouteInfoManager().submitUnRegisterBrokerRequest(requestHeader))
{
log.warn("Couldn't submit the unregister broker request to
handler, broker info: {}", requestHeader);
}
response.setCode(ResponseCode.SUCCESS);
response.setRemark(null);
return response;
- What is expected to see?
it can return ResponseCode.SYSTEM_ERROR when unregister failed
- What did you see instead?
it returns ResponseCode.SUCCESS when unregister failed
2. Please tell us about your environment:
develop
4. Other information (e.g. detailed explanation, logs, related issues,
suggestions on how to fix, etc):
--
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]