More logging for revival operations

This commit is contained in:
Michael Klishin 2020-06-24 04:52:01 +03:00
parent f0a44df7fb
commit e4af962641
No known key found for this signature in database
GPG Key ID: E80EDCFA0CDB21EE
1 changed files with 3 additions and 0 deletions

View File

@ -64,8 +64,11 @@ drain() ->
ok.
revive() ->
rabbit_log:alert("This node is being revived from maintenance (drain) mode"),
resume_all_client_listeners(),
rabbit_log:alert("Resumed all listeners and will accept client connections again"),
unmark_as_being_drained(),
rabbit_log:info("Marked this node as back from maintenance and ready to serve clients"),
ok.