Skip to content

quincy: rgw: do not copy olh attributes in versioning suspended bucket - #55607

Merged
smanjara merged 2 commits into
ceph:quincyfrom
jzhu116-bloomberg:wip-64447-quincy
Aug 29, 2024
Merged

smanjara merged 2 commits into
ceph:quincyfrom
jzhu116-bloomberg:wip-64447-quincy

Conversation

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added the rgw label Feb 15, 2024
@github-actions github-actions Bot added this to the quincy milestone Feb 15, 2024
Comment thread src/rgw/rgw_rados.cc Outdated
Comment on lines +4415 to +4419
if (dest_bucket_info.flags & BUCKET_VERSIONS_SUSPENDED) {
src_attrs.erase(RGW_ATTR_OLH_ID_TAG);
src_attrs.erase(RGW_ATTR_OLH_INFO);
src_attrs.erase(RGW_ATTR_OLH_VER);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI dest_bucket_info doesn't seem to be defined here, maybe review the other backports as well (thanks to Alexander Patrakov for pointing it out to me)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.
make check failed though. But it looks not related the changes in this PR.

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor Author

jenkins test make check

1 similar comment
@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@smanjara
smanjara merged commit 3edd5a4 into ceph:quincy Aug 29, 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.

5 participants