summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-06-30 17:49:32 +0100
committerMatthew Sackman <matthew@lshift.net>2009-06-30 17:49:32 +0100
commit5934ddc48aa095c95eb9dd8260a74c72614d5673 (patch)
treefb648f22d03f27b728683c08b882c908dba2b2e1 /src
parent583511797127748468d289dcce26d055b6d849dc (diff)
downloadrabbitmq-server-git-5934ddc48aa095c95eb9dd8260a74c72614d5673.tar.gz
and now clustering seems to work again...
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_mnesia.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index 0201017c0b..3681af0aad 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -298,9 +298,10 @@ init_db(ClusterNodes) ->
true -> disc;
false -> ram
end,
- ok = create_local_non_replicated_table_copies(TableCopyType),
- ok = wait_for_tables(),
- ok = create_local_replicated_table_copies(TableCopyType);
+ ok = create_local_table_copy(schema, disc_copies),
+ ok = create_local_non_replicated_table_copies(disc),
+ ok = create_local_replicated_table_copies(TableCopyType),
+ ok = wait_for_tables();
{error, Reason} ->
%% one reason we may end up here is if we try to join
%% nodes together that are currently running standalone or
@@ -358,7 +359,6 @@ create_local_non_replicated_table_copies(Type) ->
create_local_table_copies(Type, non_replicated_table_definitions()).
create_local_table_copies(Type, TableDefinitions) ->
- ok = create_local_table_copy(schema, disc_copies),
lists:foreach(
fun({Tab, TabDef}) ->
HasDiscCopies =