diff options
author | Tony Garnock-Jones <tonyg@lshift.net> | 2008-07-28 10:01:54 +0100 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@lshift.net> | 2008-07-28 10:01:54 +0100 |
commit | 9708ba0df8c8c620b80cf47fedff4d80292b11c6 (patch) | |
tree | 73def9bb9a900db23b4d0e8d6804460c15550872 | |
parent | 7b76516c1bff9d54bd29ae37ac977272af4c08b6 (diff) | |
download | rabbitmq-server-9708ba0df8c8c620b80cf47fedff4d80292b11c6.tar.gz |
Move schema integrity check into the top of wait_for_tables.bug19069
-rw-r--r-- | src/rabbit_mnesia.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl index 18df11fe..b8b437b0 100644 --- a/src/rabbit_mnesia.erl +++ b/src/rabbit_mnesia.erl @@ -263,7 +263,6 @@ init_db(ClusterNodes) -> ClusterNodes}}) end; {ok, [_|_]} -> - ok = ensure_schema_integrity(), ok = wait_for_tables(), ok = create_local_table_copies( case IsDiskNode of @@ -347,6 +346,7 @@ create_local_table_copy(Tab, Type) -> ok. wait_for_tables() -> + ok = ensure_schema_integrity(), case mnesia:wait_for_tables(table_names(), 30000) of ok -> ok; {timeout, BadTabs} -> |