mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Merge pull request #2602 from aquarhead/expect-mnesia-up
Expect mnesia_up event when joining cluster
This commit is contained in:
commit
a7a1e7be94
@ -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}.
|
||||
|
Loading…
Reference in New Issue
Block a user