Skip to content
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

mimic: rgw: set null version object issues #29288

merged 1 commit into from Aug 6, 2019


Copy link

smithfarm commented Jul 24, 2019

1.set null version object acl will create empty index
RGWRados::set_attrs did not clear instance, so index prepare, complete got instance=null,
which lead to empty index 1000_<obj>_i_null.
there is no harm to create empty index, but listomapkeys to find that key.

2.if object is exist with versioned key, we can set none exists null version object
1) enable bucket version
2) put obj
3) disable bucket version
4) set versoned_id=null acl will succeed which should not


Signed-off-by: Tianshan Qu <>
(cherry picked from commit ca6e5c8)
@smithfarm smithfarm self-assigned this Jul 24, 2019
@smithfarm smithfarm added this to the mimic milestone Jul 24, 2019
@smithfarm smithfarm added bug fix core rgw and removed core labels Jul 24, 2019
@smithfarm smithfarm requested a review from cbodley Jul 24, 2019

This comment has been minimized.

Copy link

yuriw commented Aug 5, 2019

cbodley approved these changes Aug 6, 2019
@yuriw yuriw merged commit ce38635 into ceph:mimic Aug 6, 2019
4 checks passed
4 checks passed
Docs: build check OK - docs built
Signed-off-by all commits in this PR are signed
Unmodified Submodules submodules for project are unmodified
make check make check succeeded
@smithfarm smithfarm deleted the smithfarm:wip-40360-mimic branch Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.