cloudcaptainsh / cloudcaptain

Issue Tracker for CloudCaptain
13 stars 3 forks source link

Resuming a push after a network interruption will systematically fail integrity check #213

Open henri-tremblay opened 6 years ago

henri-tremblay commented 6 years ago

Each time I do a push that is interrupted because my computer goes to sleep or because the network connection breaks, it seems to resume when the connection is back.

However, it actually fails the integrity check systematically.

A quick fix would be to just fail instead of resuming. At least it's not misleading.

Then, of course, the real solution is to resume correctly.

axelfontaine commented 6 years ago

I fully agree. The correct way to resolve this would be to keep on retrying the parts with failed checksums until they succeed. In most cases it's just one 5MB part anyway, so that would be a lot faster.