diff options
author | Alexey Shchepin <alexey@process-one.net> | 2008-03-26 01:23:38 +0300 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2008-03-26 01:23:38 +0300 |
commit | 9b3926baf15c484608b9f687449f6cd78d50b20e (patch) | |
tree | 5e50bad2c56e5cc20522d8ad8c1f35cb585cf566 | |
parent | 28c082551d38dccb42fe576a611d99f62c75b328 (diff) |
* 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
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ejabberd_local.erl | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -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 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{}}. %%-------------------------------------------------------------------- |