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.
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.