[erlang-questions] Should I use wait_for_tables/2 right after creating tables?

Dan Gudmundsson <>
Mon Mar 9 10:08:08 CET 2009


No you don't need to wait_for_tables after creating them.
and no you don't need to wait for the schema table change_config.
You have to wait for the other tables though.

/Dan

Sergey Samokhin wrote:
> Hello.
> 
> Just a small question, I've forgotten to ask in the previous letter.
> 
> Should I also use wait_for_tables for schema table right after 
> mnesia:change_config(extra_db_nodes, [Node]) on ram-based nodes? Or 
> schema will automatically be upgraded after change_config/2 returns?
> 
> -- 
> Sergey Samokhin
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list