DETS Problems

Evans, Matthew mevans@REDACTED
Tue Nov 2 19:10:20 CET 2010

I should add, that I do ets:insert/2 followed by a ets:to_dets/2.

Some of the records are about 4K in size.

-----Original Message-----
From: erlang-questions@REDACTED [mailto:erlang-questions@REDACTED] On Behalf Of Evans, Matthew
Sent: Tuesday, November 02, 2010 1:48 PM
To: erlang-questions
Subject: [erlang-questions] DETS Problems
Importance: High


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

The following sequence is applied to a table:

dets:insert/2 (a few times).

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

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


What causes that error?


More information about the erlang-questions mailing list