[erlang-bugs] DETS spoils DAT files

Hans Bolinder hans.bolinder@REDACTED
Fri Sep 4 10:19:34 CEST 2009


[Fyodor Ustinov <ufm@REDACTED>:]
> In excess restrictions on 2G to file DETS spoils DAT files.

Yes, you're right. It's not a bug, but a harsh way to inform the
client that the table is full.

Sometimes control is returned to the client before space has actually
been allocated on disk (insert(), re-hashing, ...). By marking the
table as corrupt subsequent calls will return the error. This simple
solution was chosen because it was assumed that no one works with an
almost full table anyway.

Best regards,

Hans Bolinder, Erlang/OTP team, Ericsson


More information about the erlang-bugs mailing list