Open dboyzhong opened 4 years ago
suggestion: request_q.destroy(); using option: request_q.destroy({ifUnused : true});
Hi, thanks for your suggestion and will you create a pull request for this issue?
@starwarfan Yes, i created a pull request for this issue, thanks.
summary:
cluster_manager stop working and whole cluster stopped service.
environment:
CentOS7.6 mcu server: 4.3.x
steps:
reason:
amqp_client.js:157
the handler.close will called if cluster_manager process exited by calling "process.exit(1);" and request_q.destroy() will delete the queue even if the other cluster_manager still connected on it.
manually reproduce:
modify slave cluster_manager B file: clusterManager.js at last lines for simulate