diff options
| author | Alexey Lebedeff <alebedev@mirantis.com> | 2016-01-20 12:07:22 +0300 |
|---|---|---|
| committer | Alexey Lebedeff <alebedev@mirantis.com> | 2016-01-20 12:30:02 +0300 |
| commit | e78bc2d9b792678d1ebdb09f30ee06fe58d39719 (patch) | |
| tree | 4dadcca0b951fcf1028ce498cbef97b657ee4825 /scripts/rabbitmq-plugins.bat | |
| parent | 6f6825a07440f7272f37bbd47dd445de631c9787 (diff) | |
| download | rabbitmq-server-git-e78bc2d9b792678d1ebdb09f30ee06fe58d39719.tar.gz | |
Improve rabbitmq OCF script diagnostics
Currently time-out when running 'rabbitmqctl list_channels' is treated
as a sign that current node is unhealthy. But it could not be the
case, as the hanging channel could be actually on some other
node. Given that currently we have more than one bug related to
'list_channels', it makes sense to improve diagnostics here.
This patch doesn't change any behaviour, only improves logging after
time-out happens. If time-outs continue to occur (even with latest
rabbitmq versions or with backported fixes), we could switch to this
improved list_channels and kill rabbitmq only if stuck channels are
located on current node. But I hope that all related rabbitmq bugs
were already closed.
Diffstat (limited to 'scripts/rabbitmq-plugins.bat')
0 files changed, 0 insertions, 0 deletions
