automq
automq copied to clipboard
[BUG] Broker cannot gracefully shutdown when a duplicated broker attempts to start
Version & Environment
What went wrong?
When a broker with duplicated node id attempts to start (will not succeed), the existing broker will not be able to gracefully close its streams
What should have happened instead?
How to reproduce the issue?
- start a broker with node id 1
- create some topics and send some messages
- start another broker with node id 1 (start failed)
- the original broker with node id 1 will not be able to shutdown gracefully
Additional information
Please attach any relevant logs, backtraces, or metric charts.