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

Defragmentation stop #112

Closed abudnik closed 9 years ago

abudnik commented 9 years ago

Problem description

Full defragmentation process may take too long to complete. Some work cases includes necessity of stopping defragmentation process, e.g. when we have 2 replicas total and one of them is failed due to disk corruption or something, while remaining replica is being defragmented at this time.

Solution

eblob defragmentation process consists of defragging of list of blobs, so if command 'stop defrag' came, then after completion of defragmenation of current blob just skip remaining blobs in list.

bioothod commented 9 years ago

This is already implemented, close it

agodin commented 9 years ago

а как пользоваться-то?