You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If definition import at node boot is configured with skip_if_unchanged but the definitions file contains invalid JSON, the node boots successfully without any error message and just doesn't import definitions.
and `definitions.skip_if_unchanged` is set to `true`.
References #2610, #6418.
Closes#8372.
(cherry picked from commit 0c6f8aa)
(cherry picked from commit 7e7431a)
# Conflicts:
# deps/rabbit/src/rabbit_definitions.erl
# deps/rabbit/test/definition_import_SUITE.erl
Describe the bug
If definition import at node boot is configured with
skip_if_unchanged
but the definitions file contains invalid JSON, the node boots successfully without any error message and just doesn't import definitions.Reproduction steps
/path/to/definitions.json
in this case)Expected behavior
RabbitMQ exits with an error if the definitions are invalid.
Additional context
Related to #2610 - it looks like #6418 fixed it for the
skip_if_unchanged = false
case but not the true caseExample log output from this scenario:
RabbitMQ version/platform (although I doubt that matters for this):
RabbitMQ 3.11.15 installed via Homebrew
Mac OS 13.3.1 (a) - Apple M1 processor
The text was updated successfully, but these errors were encountered: