DETS Problems

Evans, Matthew mevans@REDACTED
Tue Nov 2 18:47:46 CET 2010


List,

I'm using a dets table to save reasonably large records (1K or there abouts).

The following sequence is applied to a table:

dets:open_file/2/
dets:insert/2 (a few times).
ets:to_dets/2
dets:close/1


Sometime later I reopen the table with dets:open_file/1

The table is then corrupted. Reads produce the following error:

{error,{{bad_object,eval_work_list},
        "/content/c2idx/5/95/10b12417-4629-404a-8361-68bd3de77d90.dat"}}

What causes that error?

Thanks



More information about the erlang-questions mailing list