Skip to content

quincy: rgw: add headers to guide cache update in 304 response - #55095

Merged
yuriw merged 2 commits into
ceph:quincyfrom
cbodley:wip-63961-quincy
Apr 22, 2024
Merged

yuriw merged 2 commits into
ceph:quincyfrom
cbodley:wip-63961-quincy

Conversation

@cbodley

@cbodley cbodley commented Jan 8, 2024

Copy link
Copy Markdown
Contributor

IlsooByun and others added 2 commits January 8, 2024 14:17
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 <[email protected]>
(cherry picked from commit ccd241c)

Conflicts:
	src/rgw/rgw_op.cc no multipart get part
@cbodley cbodley added this to the quincy milestone Jan 8, 2024
@cbodley cbodley added the rgw label Jan 8, 2024
@yuriw

yuriw commented Apr 17, 2024

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented Apr 17, 2024

Copy link
Copy Markdown
Contributor

@yuriw
yuriw merged commit 144b4f5 into ceph:quincy Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants