]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/s3: RGWGetObj still sets attrs on ReadOp error 54587/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 21 Nov 2023 03:48:55 +0000 (22:48 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 24 Nov 2023 15:36:28 +0000 (10:36 -0500)
commitccd241c565aa898231e4bfa4ea313c3406b55391
treeee991f2fc0fb4ba2919ffbbbba397fadbd6f3b3b
parentca222e47defb06352041da7980fdef508729c4b2
rgw/s3: RGWGetObj still sets attrs on ReadOp error

when `ReadOp::prepare()` fails with `-ERR_NOT_MODIFIED`, it succeeded in
reading the head object for mtime and attrs like etag. make those attrs
available to RGWGetObj so we can still send ETag and other cache-related
response headers

Fixes: https://tracker.ceph.com/issues/45736
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_op.cc