What is the result when overwriting a s3 object failed in the situation of object without versioning?

0

Hi there, In the situation of overwrite an existence S3 object, if the overwrite failed( client disconnect or network problem),will it corrupt the existence object?

tqi
已提问 3 个月前125 查看次数
1 回答
0

Hello.

I thought that since the checksum value is used to verify the integrity of the data being uploaded or downloaded to Amazon S3, the possibility of data corruption even if the upload fails is extremely low.
https://aws.amazon.com/s3/faqs/?nc1=h_ls

Q: What checksums does Amazon S3 support for data integrity checking?

Amazon S3 uses a combination of Content-MD5 checksums, secure hash algorithms (SHAs), and cyclic redundancy checks (CRCs) to verify data integrity. Amazon S3 performs these checksums on data at rest and repairs any disparity using redundant data. In addition, S3 calculates checksums on all network traffic to detect alterations of data packets when storing or retrieving data. You can choose from four supported checksum algorithms for data integrity checking on your upload and download requests. You can choose a SHA-1, SHA-256, CRC32, or CRC32C checksum algorithm, depending on your application needs. You can automatically calculate and verify checksums as you store or retrieve data from S3, and can access the checksum information at any time using the GetObjectAttributes S3 API or an S3 Inventory report. Calculating a checksum as you stream data into S3 saves you time as you’re able to both verify and transmit your data in a single pass, instead of as two sequential operations. Using checksums for data validation is a best practice for data durability, and these capabilities increase the performance and reduce the cost to do so.

profile picture
专家
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则