aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Khramtsov <xramtsov@gmail.com>2018-09-12 17:15:04 +0300
committerGitHub <noreply@github.com>2018-09-12 17:15:04 +0300
commita7a1e7be949dbc1aa8b5010f059df9afc273f5aa (patch)
tree86c8ef2b0a66a99a991dec799f911699bfc9c388 /src
parentFix some dialyzer warnings (diff)
parentExpect mnesia_up event when joining cluster (diff)
Merge pull request #2602 from aquarhead/expect-mnesia-up
Expect mnesia_up event when joining cluster
Diffstat (limited to 'src')
-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}.