25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Expect mnesia_up event when joining cluster

This commit is contained in:
AquarHEAD Lou 2018-09-12 11:01:05 +00:00
parent 2d246f61dd
commit 8673d2926d
No known key found for this signature in database
GPG Key ID: 3762EF55831A94B2

View File

@ -340,6 +340,8 @@ handle_cast(_Msg, State) ->
handle_info({mnesia_system_event, {mnesia_down, Node}}, State) ->
clean_table_from_bad_node(Node),
{noreply, State};
handle_info({mnesia_system_event, {mnesia_up, _Node}}, State) ->
{noreply, State};
handle_info(Info, State) ->
?ERROR_MSG("unexpected info: ~p", [Info]),
{noreply, State}.