Mnesia transaction crash (locks and ______WHOLETABLE_____ )

Rudolph van Graan <>
Tue Mar 30 13:44:34 CEST 2010


Hi there,

I think we've run into an old problem today

http://forum.trapexit.org/viewtopic.php?t=4722&view=next&sid=0e6044c509dfd1cc0ecfcea8869079cb


Basically all (transactional) writes to the table fails with the following error:

{aborted,{badarg,[{ets,match_object,
                      [58700001,
                       {{locks,emr_user_permission,'______WHOLETABLE_____'},
                        write}]},
                 {mnesia_locker,need_lock,4},
                 {mnesia_locker,wlock,3},
                 {mnesia,write,5},
                 {gdb_enforcer,perform_write,6},
                 {gdb,'-wrap_exception_fun/1-fun-0-',1},
                 {mnesia_tm,apply_fun,3},
                 {mnesia_tm,execute_transaction,5}]}}

dirty writes succeed, but the data is lost. And suggestions?

Thanks,

Rudolph


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20100330/6fb72e73/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2482 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20100330/6fb72e73/attachment.bin>


More information about the erlang-questions mailing list