reverbrain / eblob

Eblob is an append-only low-level IO library, which saves data in blob files. Created as low-level backend for elliptics
GNU Lesser General Public License v3.0
104 stars 29 forks source link

blob: added sanity to record copy #41

Closed SaveTheRbtz closed 11 years ago

SaveTheRbtz commented 11 years ago

We should not blindly use old_dc data otherwise if blob is damaged we may get garbage in size variable and run out of space on fs.

We also don't want to check it on startup because checking datafile along with index will take too long.