systemd / casync

Content-Addressable Data Synchronization Tool
1.49k stars 117 forks source link

[question] Rationale for varying test result regarding interrupted download #255

Open vis-sin opened 2 years ago

vis-sin commented 2 years ago

We tested to check if interrupted download can be resumed using CASYNC i.e starting from chunk where it stopped in the last cycle. To simulate this case we just started download and then killing the CASYNC service abruptly and starting it again.

Our Observation is that when we used CAIDX format the resume worked and we assume the reason for this as we discovered a temporary file in the destination directory. But when we use CAIBX format the resume didn't work and we found no temporary file to be used for the resume.

My question is there any specific reason for different Behaviour. we think Resume is kind of supported by CASYNC but then why it does not work in CAIBX format.

It will be really helpful if somebody can answer this shed some light on the Resume feature of CASYNc.