New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nautilus: rgw: GET/HEAD and PUT operations on buckets w/lifecycle expiration configured do not return x-amz-expiration header #30020
Conversation
retest this please. |
Build failure:
|
retest this please. |
Well, to start with, there's no |
src/CMakeLists.txt
Outdated
find_package(fmt 5.2.1 QUIET) | ||
if(NOT fmt_FOUND) | ||
message(STATUS "Could not find fmt, will build it") | ||
add_subdirectory(fmt) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to continue using seastar/fmt
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tchaikov Shall I modify this PR to reflect "seastar/fmt" dir ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pdvian yeah, to be specific. we just need to move the
find_package(fmt 5.2.1 QUIET)
if(NOT fmt_FOUND)
message(STATUS "Could not find fmt, will build it")
add_subdirectory(seastar/fmt)
endif()
block out of if(WITH_SEASTAR)
.
@smithfarm thanks for reminder! i just recalled that we lifted |
@pdvian Ping, could you please make the change suggested by Kefu in his comment #30020 (comment) ? |
https://tracker.ceph.com/issues/38055 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com> (cherry picked from commit c89a889) Conflicts: src/CMakeLists.txt - moved "find_package(fmt ...)" block into "if(WITH_SEASTAR)" src/rgw/rgw_common.h - resolved for rgw_tag.h src/rgw/rgw_tag.h - Resolved for RGWObjTags
Dump object tags to log at debug level 16. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com> (cherry picked from commit 45f463f)
The expiration header tag processing is complete, but the passed RGWObjTags argument was never initialized. Now it is initialized in RGWGetObj and RGWPutObj, as required. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com> (cherry picked from commit 8981c5e)
The AWS example of this header intends to be RFC822-compliant. Found by Tyler Brekke <tbrekke@redhat.com>. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com> (cherry picked from commit 6da5be5)
Need to match key->value Signed-off-by: Matt Benjamin <mbenjamin@redhat.com> (cherry picked from commit af327f2)
a637386
to
c4dc9ff
Compare
// prefer header-only fmt, in general | ||
#undef FMT_HEADER_ONLY | ||
#define FMT_HEADER_ONLY 1 | ||
#include "fmt/format.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no fmt
in nautilus - closing
there is no |
in our downstream I experimented with using seastar/fmt as Kefu mentions, had trouble with jenkins, and just put the minimal header-only fmt files in src/rgw/fmt. n.b., this is considered a valuable feature by applications that use lifecycle expiration Matt |
pleas note that this PR is required so that the work in this PR: #31878 |
this PR: #32924 was created for backporting the above commits |
closing in favor of #32924 |
https://tracker.ceph.com/issues/41122