[erlang-questions] accessing a local_content mnesia table from a remote node
Wed Dec 10 04:16:31 CET 2008
I am trying to access a local_content mnesia table on a remote node by way
of something like:
Fun=fun() -> ...mnesia read/write ops here... end,
and am getting an error about an undefined Fun being called from within
the mnesia transaction.
This is the first time I've tried using local_content mnesia tables (and
the first time I've fought the mnesia API in which the location of the
table(s) is always transparent to the caller).
Is there a way to access a remote local_content mnesia table without
having special code loaded on the remote node for accessing the table?
In this case Node is a general purpose disc node which contains a number
of tables for various applications, but no application-specific code (e.g.
funs for passing to mnesia API for accessing the tables).
More information about the erlang-questions