this is just to remove the prefix that we add as we store metadata as an
object attribute.
for example, if there is an attribute named:
"rgw.user.x-amz-meta-somemetadata"
we want the filter rule to use the original metadata key:
"x-amz-meta-somemetadata".


On Mon, Nov 14, 2022 at 11:15 AM Thilo-Alexander Ginkel <[email protected]>
wrote:

> Hello Yuval,
>
> On Sun, Nov 13, 2022 at 10:24 AM Yuval Lifshitz <[email protected]>
> wrote:
>
>> The issue was indeed fixed (both with regard to filtering and sending the
>> metadata) in the tracker that you mentioned but was broken by another fix (
>> https://github.com/ceph/ceph/pull/39192) :-(
>> I will re-apply the fix (and make sure we regression tests, so it does
>> not break again).
>>
>
> thanks for your reply and thanks for fixing this issue! Just one (somewhat
> unrelated) question regarding how notifications are intended to work.
> Looking at the code of metadata_from_attributes (in rgw_notify.cc) I see a
> filter for a "rgw.user.meta-" (RGW_ATTR_META_PREFIX) prefix. Is this just
> dealing with how metadata is stored internally or will this filter out any
> metadata whose key does not start with "rgw.user.meta-"?
>
> Thanks,
> Thilo
>
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to