[erlang-questions] How do Mnesia commits and rollbacks work?

Ulf Wiger <>
Fri Jul 6 21:15:26 CEST 2007


2007/7/6, Joel Reymont <>:
> Folks,
>
> Does anyone know the exact details of how Mnesia commits and rolls back?
>
> Does it somehow figure out the locks, writes to temp tables and then
> commits the whole transaction once to the underlying ets and dets
> tables?

Pretty much, yes.

If you haven't already, you might want to look through the
'mnesia internals' slides:

http://www.erlang-projects.org/Groups/erlang_frameworks/mnesia_internals_sli/block_11394822732946/file

BR,
Ulf W



More information about the erlang-questions mailing list