[erlang-questions] "Killed" Mnesia transaction left locks behind

Igor Ribeiro Sucupira igorrs@REDACTED
Tue Jun 14 07:55:52 CEST 2011

An Erlang process in node N was killed while executing a transaction
(our system does that automatically for some kinds of operations, when
they take too long to finish).
However, some locks were left behind in the 4 nodes that have the
tables (this should be a bug, according to what Dan Gudmundsson once
told me in this list).

Anyway, I'd like to know if there's a way of releasing the locks
without restarting the nodes.
I tried mnesia_locker:release_tid(27211023009), but the locks still
appear when I call mnesia:system_info(held_locks):
- In nodes N1 and N2:
- In nodes N3 and N4:
- Also in node N3:

I'm sure the process is no longer running in node N.

Thank you.

"The secret of joy in work is contained in one word - excellence. To
know how to do something well is to enjoy it." - Pearl S. Buck.

More information about the erlang-questions mailing list