Corrupt database in mnesia

Yogish Baliga yogishb@REDACTED
Sun Nov 1 22:07:37 CET 2009


Hello all,

  On our production box, I have seen mnesia getting corrupt once in a while. LATEST.LOG, PREVIOUS.LOG becomes 150G or so and 1st fragment of .DCL file reaches 6G or so. Restarting mnesia again will take forever to recover. But after deleting LATEST.LOG, PREVIOUS.LOG file and restarting mnesia will recover pretty fast and the data is intact in the database.

  2 questions regarding this issue

    1. What is causing the corruption of .LOG and .DCL files?
    2. Why is that removing LATEST.LOG, PREVIOUS.LOG and restarting mnesia recovers pretty fast and data is not lost?
    3. How to prevent this from happening again?

Thanx,
-- baliga

 
"Point of view is worth 80 IQ points" --Alan Kay

http://dudefrommangalore.blogspot.com/


More information about the erlang-questions mailing list