zilliztech / milvus-backup

Backup and restore tool for Milvus
Apache License 2.0
110 stars 38 forks source link

[Bug]: The Content-Md5 you specified is not valid #280

Closed wayblink closed 5 months ago

wayblink commented 5 months ago

Current Behavior

image

image

Restore - Read backup meet error: The Content-Md5 you specified is not valid

It indicates we call getObject API with a md5 verification, however the md5 is not consistent.

It appears in user's environment with a third-party S3 from other suppliers. It may caused by incompatibility between their product and standard S3.

I work around this issue by change the API call order and avoid the md5 verification.

refer to: https://kb.netapp.com/onprem/ontap/da/S3/AWS_Write-S3Object_results_in_MD5_checksum_error https://github.com/minio/minio-go/blob/76a41461fe5124fb9b646615c6abafcd1d41c7c2/api-get-object.go#L424C4-L424C21

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

No response