[Why] The CLI sometimes crashes early because it fails to configure the Erlang distribution. Because we use two CLI commands to watch the start of RabbitMQ, if one of them fails, the Make recipe will exit with an error, leaving the RabbitMQ node running. [How] We use a shell trap to stop the node if the shell is about to exit with an error. While here, we retry the `await_startup` CLI command several times because this is the one failing the most. This is until the crash is understood and a proper fix is committed. |
||
|---|---|---|
| .. | ||
| include | ||
| mk | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| LICENSE-BSD-recon | ||
| LICENSE-MIT-Erlware-Commons | ||
| LICENSE-MIT-Mochi | ||
| LICENSE-MPL-RabbitMQ | ||
| Makefile | ||
| README.md | ||
| app.bzl | ||
| codegen.py | ||
| development.post.mk | ||
| development.pre.mk | ||
| erlang.mk | ||
| rabbitmq-components.mk | ||
README.md
RabbitMQ Common
This library is shared between RabbitMQ server, RabbitMQ Erlang client and other RabbitMQ ecosystem projects.