xybu / onedrive-d-old

Microsoft OneDrive client on Linux.
http://xybu.me/projects/onedrive-d/
GNU Lesser General Public License v3.0
820 stars 143 forks source link

Conflict detected during large file downloading #185

Open starrwang opened 8 years ago

starrwang commented 8 years ago

When download big file test4 on my board at size 14680064, another thread discovered the 'half-done' file and considered it as conflict case1, renamed it and later uploaded it. In fact, the file was being downloaded (my network is not so fast). Will it help to check if the entry is under downloading when detecting case1?


[2015-09-15 17:32:42,898] DEBUG: worker2: got task: sy on "/home/admin/onedrive_home_test/" [2015-09-15 17:32:43,461] DEBUG: worker1: current cursor: 14680064 [2015-09-15 17:32:43,598] WARNING: worker2: case1: 2015-09-15 09:32:43,14680064 vs 2015-09-15 09:21:51,14797990 [2015-09-15 17:32:43,601] DEBUG: worker2: failed to add task "dl" "/home/admin/onedrive_home_test/test4". [2015-09-15 17:32:43,624] WARNING: worker2: case1: 2015-09-15 09:32:37,13107200 vs 2015-09-15 09:21:43,14797990 [2015-09-15 17:32:43,626] DEBUG: worker2: failed to add task "dl" "/home/admin/onedrive_home_test/test5". [2015-09-15 17:32:43,634] DEBUG: worker2: added task "up" "/home/admin/onedrive_home_test/test4 (ARMA9, 1)".