Closed wangzw closed 6 years ago
I'll have a test on this.
Do your files have illegal file names? And can you upgrade to 1.7.3 to have an another test? And which type of inconsistent, smaller, bigger or randem data ?
send you bucket id in qingcloud ticket
The latest version in pypi is 1.7.2
aws s3 cp --endpoint-url 'https://s3.pek3a.qingstor.com' --recursive qs://xxx/ /local/path/
get correct object content
Yes, I'm sure there is a bug related to multi thread, I will fix it.
qsctl cp --no-progress -r qs://xxx/ /local/path/ --worker 1
is a workaround.
It's a SDK bug: https://github.com/yunify/qingstor-sdk-python/blob/master/qingstor/sdk/service/bucket.py#L813
We will fix & release it tomorrow.
And this will also lead to files missing: https://github.com/yunify/qsctl/blob/master/qingstor/qsctl/commands/base.py#L157-L166 , patch is coming.
@wangzw This release https://github.com/yunify/qsctl/releases/tag/1.7.4 should fix this bug.
Thanks for your report.
Closed for fixed.
I copy 12254 small files from a bucket to local filesystem. The total data is 534.05 MB.
The command exit with exit code 0.
I got wrong content for some files, which is not consistent with the object content in qingstor bucket.