]> granicus.if.org Git - ejabberd/commitdiff
clone iq_response table bugfix
authorChristophe Romain <christophe.romain@process-one.net>
Wed, 2 Apr 2008 12:18:22 +0000 (12:18 +0000)
committerChristophe Romain <christophe.romain@process-one.net>
Wed, 2 Apr 2008 12:18:22 +0000 (12:18 +0000)
SVN Revision: 1270

ChangeLog
src/ejabberd_local.erl

index 9199c4dc12551a87080ce7d8c022f5b2c17d9b4e..68172c88c65be6af5343b7003a0a3e4aefd1fd4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 
        * src/mod_pubsub/mod_pubsub.erl: add condition inclusion of pep in
        disco identity (EJAB-564)
+       * src/ejabberd_local.erl: The iq_response table wasn't cloned
+       automatically on all nodes which resulted in a single point of
+       failure (backport from trunk, thanks to Alexey)
 
 2008-03-31  Badlop  <badlop@process-one.net>
 
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{}}.
 
 %%--------------------------------------------------------------------