[ejabberd] mnesia corruption with concurrent ejabberdctl usage

Badlop badlop at gmail.com
Mon Dec 28 18:24:34 MSK 2009


2009/12/28 Martin Langhoff <martin.langhoff at gmail.com>:
> This was due to the sync script running slow (due to the load) and the
> next run overlapping with the first run. Added a big lock around the
> script to prevent overlapping, and things went back to normal.
>
> Testing experimentally with a couple of xterms open, calling
> srg-list-groups or srg-get-info while groups are being manipulated
> with srg-user-add/srg-user-del spews a ton of errors.
>
> Is this normal? Expected? My reading of the Programming Erlang book
> led me to believe mnesia ops would be sanely concurrent...

Show a pair of those error messages.


---
Badlop
ProcessOne


More information about the ejabberd mailing list