Skip to content

Instantly share code, notes, and snippets.

@qzhuyan
Created April 8, 2021 16:45
Show Gist options
  • Save qzhuyan/5088d13c8211cc637dfc8e53df9b2c3e to your computer and use it in GitHub Desktop.
Save qzhuyan/5088d13c8211cc637dfc8e53df9b2c3e to your computer and use it in GitHub Desktop.
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, 'emqx3@127.0.0.1').
mnesia:del_table_copy(emqx_trie, 'emqx4@127.0.0.1').
mnesia:add_table_copy(emqx_trie, 'emqx4@127.0.0.1', 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