From: AquarHEAD Lou Date: Wed, 12 Sep 2018 11:01:05 +0000 (+0000) Subject: Expect mnesia_up event when joining cluster X-Git-Tag: 18.09~41^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8673d2926d337dbbcd3e20809f14a8784f20517b;p=ejabberd Expect mnesia_up event when joining cluster --- 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}.