]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberd_local.erl: The iq_response table wasn't cloned
authorAlexey Shchepin <alexey@process-one.net>
Tue, 25 Mar 2008 22:23:38 +0000 (22:23 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Tue, 25 Mar 2008 22:23:38 +0000 (22:23 +0000)
automatically on all nodes which resulted in a single point of
failure

SVN Revision: 1257

ChangeLog
src/ejabberd_local.erl

index f137e59a0432a7b27ebb0a29ce168ec45f6e7d7e..930ff79849bc2322eff9a00bc7551c1057e2d18f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-26  Alexey Shchepin  <alexey@process-one.net>
+
+       * src/ejabberd_local.erl: The iq_response table wasn't cloned
+       automatically on all nodes which resulted in a single point of
+       failure
+
 2008-03-25  Badlop  <badlop@process-one.net>
 
        * src/Makefile.in: Failure to install epam is not
index 50e62ba55d8d5cd2fe49b519dd9491a11327471b..b54173581f509dd4e829be559cc6f680fdca6f99 100644 (file)
@@ -171,6 +171,7 @@ init([]) ->
     mnesia:create_table(iq_response,
                        [{ram_copies, [node()]},
                         {attributes, record_info(fields, iq_response)}]),
+    mnesia:add_table_copy(iq_response, node(), ram_copies),
     {ok, #state{}}.
 
 %%--------------------------------------------------------------------