Project

General

Profile

Bug #36763

rgw: set null version object issues

Added by Tianshan Qu 10 months ago. Updated about 2 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/11/2018
Due date:
% Done:

0%

Source:
Tags:
versioning
Backport:
luminous mimic nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

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


Related issues

Copied to rgw - Backport #40358: nautilus: rgw: set null version object issues Resolved
Copied to rgw - Backport #40359: luminous: rgw: set null version object issues New
Copied to rgw - Backport #40360: mimic: rgw: set null version object issues Resolved

History

#2 Updated by Casey Bodley 10 months ago

  • Status changed from New to Need Review

#3 Updated by Casey Bodley 3 months ago

  • Status changed from Need Review to Pending Backport
  • Tags set to versioning
  • Backport set to luminous mimic nautilus

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #40358: nautilus: rgw: set null version object issues added

#5 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #40359: luminous: rgw: set null version object issues added

#6 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #40360: mimic: rgw: set null version object issues added

#7 Updated by Nathan Cutler about 2 months ago

  • Pull request ID set to 25044

Also available in: Atom PDF