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