Skip to content

Commit 668425e

Browse files
Log a message when we fall back to randomized startup delay
1 parent 6e9b3d1 commit 668425e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rabbit_mnesia.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ init_with_lock(0, _, InitFromConfig) ->
138138
init_with_lock(Retries, Timeout, InitFromConfig) ->
139139
case rabbit_peer_discovery:lock() of
140140
not_supported ->
141+
rabbit_log:info("Peer discovery backend does not support locking, falling back to randomized delay"),
141142
%% See rabbitmq/rabbitmq-server#1202 for details.
142143
rabbit_peer_discovery:maybe_inject_randomized_delay(),
143144
InitFromConfig(),

0 commit comments

Comments
 (0)