From 9b3926baf15c484608b9f687449f6cd78d50b20e Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Tue, 25 Mar 2008 22:23:38 +0000 Subject: * src/ejabberd_local.erl: The iq_response table wasn't cloned automatically on all nodes which resulted in a single point of failure SVN Revision: 1257 --- src/ejabberd_local.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ejabberd_local.erl') diff --git a/src/ejabberd_local.erl b/src/ejabberd_local.erl index 50e62ba55..b54173581 100644 --- a/src/ejabberd_local.erl +++ b/src/ejabberd_local.erl @@ -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{}}. %%-------------------------------------------------------------------- -- cgit v1.2.3