Title: data integrity checks for uploads/downloads · Issue #547 · googleapis/google-cloud-python · GitHub
Open Graph Title: data integrity checks for uploads/downloads · Issue #547 · googleapis/google-cloud-python
X Title: data integrity checks for uploads/downloads · Issue #547 · googleapis/google-cloud-python
Description: For uploads/downloads, check in order of priority: md5 computed for local file against md5 contained in Object’s metadata (more expensive, more reliable) crc32c computed for local file against crc32c contained in Object’s metadata (less ...
Open Graph Description: For uploads/downloads, check in order of priority: md5 computed for local file against md5 contained in Object’s metadata (more expensive, more reliable) crc32c computed for local file against crc3...
X Description: For uploads/downloads, check in order of priority: md5 computed for local file against md5 contained in Object’s metadata (more expensive, more reliable) crc32c computed for local file against crc3...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/547
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"data integrity checks for uploads/downloads","articleBody":"For uploads/downloads, check in order of priority:\n- md5 computed for local file against md5 contained in Object’s metadata (more expensive, more reliable)\n- crc32c computed for local file against crc32c contained in Object’s metadata (less expensive, less reliable)\n\n[eaxmple gslib code for the checks chain](https://github.com/GoogleCloudPlatform/gsutil/blob/ccca18e64f3f7d87c989675f8673af7bdecae0d1/gslib/copy_helper.py#L805)\n\nFor copies of objects already in the storage, compare the checksums in the Object’s metadata with the same priority (md5 could not be available in some cases)\n[example gslib_code](https://github.com/GoogleCloudPlatform/gsutil/blob/ccca18e64f3f7d87c989675f8673af7bdecae0d1/gslib/copy_helper.py#L756)\n\nIf the checksum check fails, the created file should be deleted by the client, and an exception raised.\n[example gslib_code](https://github.com/GoogleCloudPlatform/gsutil/blob/ccca18e64f3f7d87c989675f8673af7bdecae0d1/gslib/copy_helper.py#L1694)\n\nWe should allow to override the configuration for the checks (e.g. use only crc32c, do not perform checks), but it should be strongly discouraged.\n","author":{"url":"https://github.com/silvolu","@type":"Person","name":"silvolu"},"datePublished":"2015-01-14T19:33:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/547/google-cloud-python/issues/547"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:00a330cd-58c1-0476-7ace-e650d2625a3e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5C6:3D6334:23E4ECD:33D1936:6A4D18B3 |
| html-safe-nonce | 68c07de03970fcadf90a4c574b095f2ab477608f2a023f9cdf307611a5ab61f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUM2OjNENjMzNDoyM0U0RUNEOjMzRDE5MzY6NkE0RDE4QjMiLCJ2aXNpdG9yX2lkIjoiMjU2NTA5NDUyMTI0ODIyNTQ1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 04193f576689c3dcb006a661cb53932f75c7a7a1ab5e0ff34079fcf9ae6c73a4 |
| hovercard-subject-tag | issue:54365612 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/547/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c91e32e60fc9e7e2ee0bb99ff7d3be960ba7fc3523bd83a25e1bd3ed4dafc2ca/googleapis/google-cloud-python/issues/547 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c91e32e60fc9e7e2ee0bb99ff7d3be960ba7fc3523bd83a25e1bd3ed4dafc2ca/googleapis/google-cloud-python/issues/547 |
| og:image:alt | For uploads/downloads, check in order of priority: md5 computed for local file against md5 contained in Object’s metadata (more expensive, more reliable) crc32c computed for local file against crc3... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | silvolu |
| hostname | github.com |
| expected-hostname | github.com |
| None | bcb4661e6fb4fe8b394c51ea02ccdb2236d40dc59afc75a3bbba50bf6517134c |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fb70bd3c4b2bec429781b65419e912c66e2d5581 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width