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

Fix adding zero-filled space into index file #175

Closed shaitan closed 7 years ago

shaitan commented 7 years ago

bctl->index_ctl.size is used as offset for new eblob_disk_control, so it should be changed to new size of index after truncate.