[erlang-questions] Is mnesia:add_table_copy/3 completely synchronous?

Hakan Mattsson hakan@REDACTED
Tue Jul 28 11:12:37 CEST 2009

On Mon, 27 Jul 2009, Sergey Samokhin wrote:

> Do I need to call mnesia:wait_for_tables/2 right after
> mnesia:add_table_copy/3 to make sure that all tables I'm 
> interested in get available before going further? 


> In other words, is add_table_copy/3 completely synchronous?

Yes. The new replica is directly available when
mnesia:add_table_copy/3 returns.

Håkan Mattsson (uabhams)
Erlang/OTP, Ericsson AB

More information about the erlang-questions mailing list