Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2015-03-27 | Merge branch 'dgud/mnesia/try-catch' | Dan Gudmundsson | |
* dgud/mnesia/try-catch: mnesia: Replace catch with try-catch | |||
2015-03-27 | mnesia: Replace catch with try-catch | Dan Gudmundsson | |
Avoids building stacktraces where it is not needed and do not mask errors, i.e. only catch the relevant classes in each try. | |||
2015-03-20 | Replace usage of erlang:now() with usage of new API | Dan Gudmundsson | |
2014-03-28 | mnesia: Dialyzer fixes | Dan Gudmundsson | |
2011-11-28 | [mnesia] Add possibility for implementation dependent storage options to ↵ | Dan Gudmundsson | |
create_table | |||
2011-05-20 | Update copyright years | Björn-Egil Dahlberg | |
2011-05-16 | Add {majority, boolean()} per-table option. | Ulf Wiger | |
With {majority, true} set for a table, write transactions will abort if they cannot commit to a majority of the nodes that have a copy of the table. Currently, the implementation hooks into the prepare_commit, and forces an asymmetric transaction if the commit set affects any table with the majority flag set. In the commit itself, the transaction will abort if it cannot satisfy the majority requirement for all tables involved in the thransaction. A future optimization might be to abort already when a write lock is attempted on such a table (/-object) and the lock cannot be set on enough nodes. This functionality introduces the possibility to automatically "fence off" a table in the presence of failures. This is a first implementation. Only basic tests have been performed. | |||
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |