]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: defensive check for part cksum in try_sum_part_cksums
authorMatt Benjamin <mbenjamin@redhat.com>
Fri, 30 Aug 2024 13:34:18 +0000 (09:34 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 8 Jan 2025 00:17:03 +0000 (19:17 -0500)
commit5c4d5942835f3485558617903990fabee11c625e
tree3412253cf444f60ce5e5aad891515f2955f726c5
parentb164ad893ee82a3cba6cffc113fe3fced4170a02
rgw: defensive check for part cksum in try_sum_part_cksums

If a create-multipart-upload requested additional checksum but a
part upload omits it, fail gracefully.

Possibly we can fixup the checksum uploads and remove this scenario,
but coding defensively would still be correct.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_op.cc