summaryrefslogtreecommitdiff
path: root/src/dtree.erl
diff options
context:
space:
mode:
authorJean-Sebastien Pedron <jean-sebastien@rabbitmq.com>2014-12-03 15:43:57 +0100
committerJean-Sebastien Pedron <jean-sebastien@rabbitmq.com>2014-12-03 15:43:57 +0100
commitb865b398460c8f7f28d66172647126711c07d257 (patch)
treed1cec6aff5dba29206f0674d24994c9450d788ed /src/dtree.erl
parentdc77cc2e7ed62a70518ac416a90174aacdce07d8 (diff)
downloadrabbitmq-server-git-b865b398460c8f7f28d66172647126711c07d257.tar.gz
Throw an error if at least one plugin's module can't be loaded
This prevents a plugin from being enabled if it won't be able to actually run later. A use case for this is a plugin built with Erlang version N, but executed on Erlang version M, where M isn't capable of running the bytecode from N. This was the case with Eralng R14B vs. R15B. The "rabbitmq-plugins enable <plugin>" command reports the error and the plugin remains disabled. A node reports the error too and refuses to start, exactly as if the plugin was missing.
Diffstat (limited to 'src/dtree.erl')
0 files changed, 0 insertions, 0 deletions