cernbox / smashbox

main test suite
GNU Affero General Public License v3.0
22 stars 35 forks source link

Make concurrentDirMove more robust when the sync speed is slow #37

Closed nickvergessen closed 2 years ago

nickvergessen commented 9 years ago

When the network is too slow, so the move finishes before the upload, the upload will not reach the final folder. Only in the last step, the mover uploads the files to the server. The uploader already has a sync(n=2) to make sure it ran twice. However, if both of them happen before the the first sync of the other syncer happened, it's useless.

So I dragged them out into a new step.

nickvergessen commented 9 years ago

@moscicki thx!