aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAquarHEAD Lou <aquarhead@ela.build>2018-09-12 11:01:05 +0000
committerAquarHEAD Lou <aquarhead@ela.build>2018-09-12 11:01:05 +0000
commit8673d2926d337dbbcd3e20809f14a8784f20517b (patch)
tree86c8ef2b0a66a99a991dec799f911699bfc9c388
parentFix some dialyzer warnings (diff)
Expect mnesia_up event when joining cluster
Diffstat (limited to '')
-rw-r--r--src/mod_muc_mnesia.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_muc_mnesia.erl b/src/mod_muc_mnesia.erl
index 918ce1dcb..43cf1aa01 100644
--- a/src/mod_muc_mnesia.erl
+++ b/src/mod_muc_mnesia.erl
@@ -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}.