Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-16 | Add documentation text about majority checking | Ulf Wiger | |
2011-05-16 | add mnesia_majority_test suite | Ulf Wiger | |
2011-05-16 | where_to_wlock optimization + change_table_majority/2 | Ulf Wiger | |
2011-05-16 | bug in mnesia_tm:needs_majority/2 | Ulf Wiger | |
2011-05-16 | optimize sticky_lock maj. check | Ulf Wiger | |
2011-05-16 | check majority for sticky locks | Ulf Wiger | |
2011-05-16 | Write locks now check majority when needed. | Ulf Wiger | |
Since the table loader also sets (table) write locks, a special lock type, 'load', was needed. Unfortunately, this affects mnesia activity callbacks that redefine the lock operation. | |||
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. | |||
2011-05-09 | Merge branch 'sa/dialyzer-tests' into dev | Henrik Nord | |
* sa/dialyzer-tests: (22 commits) Update dialyzer.spec Add race/ets_insert_public Add opaque/ewgi,ewgi2 Add opaque/schuett_bug Add small/param_types_crash Add small/file_open_encoding Add small/false_false Add small/ets_update_counter Add small/bin_compr Add small/tuple_set_crash Add small/refine_failing Add small/not_bogus_warning Add small/none_scc_inf_loop Add small/guards Add small/guard_warnings Add small/confusing_record_warning Add small/blame_contract_range Update small/recursive_types2 source Update opaque/zoltan_kis* sources Update options1/compiler results ... OTP-9278 | |||
2011-05-09 | Merge branch 'ks/list_to_bitstring' into dev | Henrik Nord | |
* ks/list_to_bitstring: Fix handling of <<_:N,_:_*M>> type expressions Fix the argument of erlang:list_to_bitstring/1 Move function to its proper place Remove unneeded function 'sequence/2' OTP-9277 | |||
2011-05-09 | Add ticet number for tm/xmerl_attr_charref_fix | Henrik Nord | |
OTP-9274 | |||
2011-05-09 | Merge branch 'tm/xmerl_attr_charref_fix' into dev | Henrik Nord | |
* tm/xmerl_attr_charref_fix: Prevent xmerl from over-normalizing character references in attributes | |||
2011-05-09 | Merge branch 'lukas/common_test/timeout_location_fix/OTP-9265' into dev | Lukas Larsson | |
* lukas/common_test/timeout_location_fix/OTP-9265: Fix ct_framework to not crash when error_notification location is undefined. | |||
2011-05-06 | Merge branch 'kj/eunit-race-cond' into dev | Henrik Nord | |
* kj/eunit-race-cond: Don't let eunit_surefire report back to eunit when stopping Wait until all eunit listeners terminate OTP-9269 | |||
2011-05-06 | Merge branch 'lukas/common_test/ct_hook_bugs/OTP-9264' into dev | Lukas Larsson | |
* lukas/common_test/ct_hook_bugs/OTP-9264: Fix bug which would make cth's to not be removed when out of scope when adding a cth in suite/0 and crashing in pre_init_per_suite. | |||
2011-05-05 | Merge branch 'ia/ssl/more-socket-options-dialyzer-issues' into dev | Ingela Anderton Andin | |
* ia/ssl/more-socket-options-dialyzer-issues: Spec corrections | |||
2011-05-05 | Spec corrections | Ingela Anderton Andin | |
2011-05-04 | Update dialyzer.spec | Stavros Aronis | |
2011-05-04 | Add race/ets_insert_public | Stavros Aronis | |
2011-05-04 | Add opaque/ewgi,ewgi2 | Stavros Aronis | |
2011-05-04 | Add opaque/schuett_bug | Stavros Aronis | |
2011-05-04 | Add small/param_types_crash | Stavros Aronis | |
2011-05-04 | Add small/file_open_encoding | Stavros Aronis | |
2011-05-04 | Add small/false_false | Stavros Aronis | |
2011-05-04 | Add small/ets_update_counter | Stavros Aronis | |
2011-05-04 | Add small/bin_compr | Stavros Aronis | |
2011-05-04 | Add small/tuple_set_crash | Stavros Aronis | |
2011-05-04 | Add small/refine_failing | Stavros Aronis | |
2011-05-04 | Add small/not_bogus_warning | Stavros Aronis | |
2011-05-04 | Add small/none_scc_inf_loop | Stavros Aronis | |
2011-05-04 | Add small/guards | Stavros Aronis | |
2011-05-04 | Add small/guard_warnings | Stavros Aronis | |
2011-05-04 | Add small/confusing_record_warning | Stavros Aronis | |
2011-05-04 | Add small/blame_contract_range | Stavros Aronis | |
2011-05-04 | Update small/recursive_types2 source | Stavros Aronis | |
2011-05-04 | Update opaque/zoltan_kis* sources | Stavros Aronis | |
2011-05-04 | Update options1/compiler results | Stavros Aronis | |
2011-05-04 | Rename suite data directories | Stavros Aronis | |
2011-05-04 | Simplify Dialyzer's test suite structure | Stavros Aronis | |
*_SUITE.erl files are now automatically generated by the respective data directories by the Makefile. | |||
2011-05-04 | Merge branch 'maint-r14' into dev | Niclas Eklund | |
2011-05-04 | Dialyzer spec fix | Ingela Anderton Andin | |
2011-05-03 | Merge branch 'ta/unicode-non-chars' into dev | Henrik Nord | |
* ta/unicode-non-chars: unicode: document 16#FFFE and 16#FFFF (non chars) OTP-9256 | |||
2011-05-03 | Merge branch 'mh/inhibit-newline-inside-typespec' into dev | Henrik Nord | |
* mh/inhibit-newline-inside-typespec: Inhibit electric newline after "->" when inside a type spec OTP-9255 | |||
2011-05-03 | Merge branch 'ia/ssl/dialyzer-iodata' into dev | Ingela Anderton Andin | |
* ia/ssl/dialyzer-iodata: Changed iolist() to iodata() | |||
2011-05-02 | Fix handling of <<_:N,_:_*M>> type expressions | Kostis Sagonas | |
2011-05-02 | Fix the argument of erlang:list_to_bitstring/1 | Kostis Sagonas | |
2011-05-02 | Move function to its proper place | Kostis Sagonas | |
2011-05-02 | Remove unneeded function 'sequence/2' | Stavros Aronis | |
Same functionality provided by string:join/2. | |||
2011-04-29 | Merge branch 'ms/erl_interface-compile-error' into dev | Henrik Nord | |
* ms/erl_interface-compile-error: erl_interface: fix compile error OTP-9252 | |||
2011-04-29 | Changed iolist() to iodata() | Ingela Anderton Andin | |
ssl:send/2 takes iodata() as a second argument. erlang:iolist_to_binary should really be called erlang:iodata_to_binary which caused the mismatch in the first place. |