Hey I'm trying to make an ejabberd module which uses mnesia. I make a mnesia table with disk copies. I'm having this bug where any tables I make are lost on restart. When I do the call to create the tables, I check for {aborted, {already_exists, _}}, but it returns {atomic, ok} every single time. I gathered from the mnesia guide that I should call the function which waits until timeout for the tables to load. They always timeout, even with a timeframe of multiple minutes.
↧