aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_isolation_test.erl
AgeCommit message (Collapse)Author
2016-03-15update copyright-yearHenrik Nord
2016-02-05mnesia: Avoid deadlock possibility in mnesia:del_table_copy schemaDan 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-30Remove erlang:now() and random usage in testsDan Gudmundsson
2015-06-18Change license text to APLv2Bruce Yinhe
2014-11-12mnesia: Fix match_object bugDan Gudmundsson
match_object returned wrong objects when matching on non key fields and updates in the same transaction had been performed.
2013-06-05mnesia: Fix (timing issue) testcaseDan Gudmundsson
2011-02-17Fix formatting for mnesiaLukas Larsson
2011-02-17Update mnesia tests to conform with common_test standardLukas Larsson
2011-02-17Update all fin_per_testcase to end_per_testcase.Lukas Larsson
2010-06-08Release mnesia testsDan Gudmundsson