[erlang-patches] Fix crash in mnesia_controller due to a function_clause exception from is_tab_blocked/1

Ahmed Omar spawn.think@REDACTED
Wed May 1 15:49:32 CEST 2013


git fetch git://github.com/spawnthink/otp.git fix_mnesia_block_table

Fix crash in mnesia_controller due to a function_clause exception from
is_tab_blocked/1

If mnesia_controller:block_table/1 is called twice for same table,
the new stored value of {Tab, where_to_commit} will be {blocked,
{blocked,List}}.
This will result in an exception when calling is_tab_blocked/1.
mnesia_conttoller:block_table/1 should check if the table is already
blocked.

https://github.com/spawnthink/otp/compare/fix_mnesia_block_table.patch
https://github.com/spawnthink/otp/compare/fix_mnesia_block_table

Best Regards,
Ahmed Omar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130501/e6dc1455/attachment.htm>


More information about the erlang-patches mailing list