-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Syncup 问题 bug
houtianze edited this page Feb 15, 2015
·
1 revision
简单说就是:大文件分片上传合并后,百度会返回错误的MD5值。这会导致文件比较失败(本地和远程同样的大文件被认为是不同的文件,因为拿到MD5不一样),进而导致syncup / syncdown重复上传下载。
曲线解决方法:syncup两次。(第二次大文件算是秒传,很快的;小文件不会再传。然后百度云端返回的MD5值都是正确的了)
Basically: After a big file uploaded using slices and then combined, Baidu will return the wrong MD5. This will affect comparision (as MD5 is used to assert if the files local and remote are equal), thus will force syncup / syncdown transfer a second time.
Workaround: syncup twice (For the second time, the big files are "rapidly uploaded", which is very fast. Small files that are the same will be skipped. After this, Baidu will return the correct MD5)