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

nautilus: rgw: set null version object issues #29287

Merged
merged 1 commit into from Jul 30, 2019

Commits on Jul 24, 2019

  1. rgw: set null version object acl issues

    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
    order:
    1) enable bucket version
    2) put obj
    3) disable bucket version
    4) set versoned_id=null acl will succeed which should not
    
    Fixes: http://tracker.ceph.com/issues/36763
    
    Signed-off-by: Tianshan Qu <tianshan@xsky.com>
    (cherry picked from commit ca6e5c8)
    tianshan authored and smithfarm committed Jul 24, 2019
    Copy the full SHA
    d0de0a3 View commit details
    Browse the repository at this point in the history