Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-07-03 | Fix delete_object and write convergence in transaction. | Daniil Fedotov | |
Fix a bug, when delete_object was deleting the record if it was written in the same transaction even if it was written to a different value. To verify: %% Create a set table mnesia:create_table(foo, []). %% Write and delete_object in transaction mnesia:transaction(fun() -> mnesia:write({foo, bar, one}), mnesia:delete_object({foo, bar, not_one}) end). {atomic, [{foo, bar, one}]} = mnesia:transaction(fun() -> mnesia:read(foo, bar) end). Added a section to isolation tests to check for non-matching delete_object requests. | |||
2018-06-18 | Update copyright year | Henrik Nord | |
2017-09-15 | mnesia: Remove export_all in tests | Dan Gudmundsson | |
Cleanup warnings | |||
2016-03-15 | update copyright-year | Henrik Nord | |
2016-02-05 | mnesia: Avoid deadlock possibility in mnesia:del_table_copy schema | Dan Gudmundsson | |
del_table_copy grabs a write lock in a new process in prepare_op/3 to change 'where_to_read' when a table copy is updated. When del_table_copy(schema, Node) is called all copies located on Node are deleted, and thus many locks are taken. Since this was done outside of the schema-transaction, mnesia's deadlock prevention algorithms was sidestepped and a deadlock could occur. Fix by always grabbing write-locks for all changed tabs early and in the same transaction, this might slow done the operation some but it must be done and it also cleans up the code. | |||
2015-06-30 | Remove erlang:now() and random usage in tests | Dan Gudmundsson | |
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2014-11-12 | mnesia: Fix match_object bug | Dan Gudmundsson | |
match_object returned wrong objects when matching on non key fields and updates in the same transaction had been performed. | |||
2013-06-05 | mnesia: Fix (timing issue) testcase | Dan Gudmundsson | |
2011-02-17 | Fix formatting for mnesia | Lukas Larsson | |
2011-02-17 | Update mnesia tests to conform with common_test standard | Lukas Larsson | |
2011-02-17 | Update all fin_per_testcase to end_per_testcase. | Lukas Larsson | |
2010-06-08 | Release mnesia tests | Dan Gudmundsson | |