Re: Fragment not locked
Stanislav Ledenev <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAOkK=ALFMu02+KChzH8KCL5NcHQpL9QE9T0h0A+uTH4ceeM3ow@mail.gmail.com> |
Following the documentation, are you trying to reproduce example for
{hash_state, Term}?
The line "mnesia:change_table_frag(prim_dict, {add_frag, [node()]})." can
be found only there.
Or you've somehow changed those examples for your own needs? If so please
provide a full list of your steps.
пн, 12 июл. 2021 г. в 14:36, <[email protected]>:
> > Are you calling "change_table_frag" within a transaction (i.e.
> mnesia:activity)?
>
> No I do not. Should I? I followed examples in documentation at
> http://erlang.org/doc/apps/mnesia/Mnesia_chap5.html#table-fragmentation
> where activity is used for other operations, but not for add_frag.
>
> Thanks,
> Wojtek
>
>