[erlang-questions] mnesia lookup weirdness

Chandru chandrashekhar.mullaparthi@REDACTED
Fri Jul 1 15:44:20 CEST 2011


Hi,

One of my production nodes running R12B-5 is exhibiting some strange
behaviour.

mnesia:dirty_read(gtp_tid, mnesia:dirty_first(gtp_tid)).

gives me an empty list. The table has 39K entries. How do I find out what is
happening? I tried using ets operations directly and get the same result
(which is what mnesia is doing behind the scenes anyway). I get the same
empty result using a transaction to read. Any clues?

96> ets:info(gtp_tid).
[{memory,213857900},
 {owner,<0.741.0>},
 {name,gtp_tid},
 {size,39088},
 {node,node@REDACTED},
 {named_table,true},
 {type,set},
 {keypos,2},
 {protection,public}]

The same operation works ok on other tables.

cheers
Chandru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110701/9bd1e664/attachment.htm>


More information about the erlang-questions mailing list