[erlang-questions] mnesia access context checking

Per Melin <>
Fri May 16 22:36:25 CEST 2008

2008/5/16 Wojciech Kaczmarek <>:
> The most wanted feature is not to swich to transaction context in an inner
> call when outer call was invoked as dirty.

If you use normal read/write in your inner function and call it
through async_dirty/1 or sync_dirty/1, that should do what you want,

>From the doc:
"Calling (nesting) a mnesia:[a]sync_dirty inside a transaction context
will inherit the transaction semantics."

More information about the erlang-questions mailing list