Re: Fragment not locked

Stanislav Ledenev <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAOkK=AKRFYBP8TiairbBFD1j0Asn2bi6zJx7N2VpiXJu1kUWdA@mail.gmail.com>
Are you calling "change_table_frag" within a transaction (i.e.
mnesia:activity)?

вс, 11 июл. 2021 г. в 16:57, <[email protected]>:

> I have a fragmented table in Mnesia. When I try to add a new fragment, as
> described in documentation:
>
>
>
> mnesia:change_table_frag(name, {add_frag, [node()]}).
>
>
>
> I am getting an error
>
>
>
> {aborted,{"add_frag: Fragment not locked",5}}
>
>
>
> What could be the cause of this? What can I do to add a new fragment?
>
>
>
> Thanks,
>
> Wojtek
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.