[erlang-questions] Some mnesia oddity
Fri Aug 29 11:47:53 CEST 2008
We found a strange mnesia behavior here...
Some mnesia:write operations after a mnesia:delete_object seem to not have
the expected result when executed in the same transaction.
See attached example file:
1 - We fill a test_table
2 - In the same transaction, we read all records, delete them, and write
them back (do not ask why :))
3 - Surprise! Only a subset of them can be read afterwards
Same result in R11 and R12.
It works if the delete_object and write operations are in separate
transactions... But who knows what can happen between them...
Can someone explain this?
-- Nicolas Thauvin
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1418 bytes
Desc: not available
More information about the erlang-questions