Created
April 8, 2021 16:45
-
-
Save qzhuyan/5088d13c8211cc637dfc8e53df9b2c3e to your computer and use it in GitHub Desktop.
Test mnesia 'copy table from' in https://github.com/qzhuyan/otp/commit/8009a5a4dc540610ccb546b7857b58ef95fc9aaa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dbg:tracer(process, {fun dbg:dhandler/2,group_leader()}). | |
dbg:p(all, c). | |
dbg:tpl(mnesia_loader, init_receiver, cx). | |
mnesia_lib:set(copy_from_node, '[email protected]'). | |
mnesia:del_table_copy(emqx_trie, '[email protected]'). | |
mnesia:add_table_copy(emqx_trie, '[email protected]', ram_copies). | |
mnesia:wait_for_tables([emqx_trie], 30000). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment