Project

General

Profile

Bug #36763

rgw: set null version object issues

Added by Tianshan Qu over 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

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 Resolved
Copied to rgw - Backport #40360: mimic: rgw: set null version object issues Resolved

History

#2 Updated by Casey Bodley over 1 year ago

  • Status changed from New to Fix Under Review

#3 Updated by Casey Bodley 10 months ago

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

#4 Updated by Nathan Cutler 10 months ago

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

#5 Updated by Nathan Cutler 10 months ago

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

#6 Updated by Nathan Cutler 10 months ago

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

#7 Updated by Nathan Cutler 9 months ago

  • Pull request ID set to 25044

#8 Updated by Nathan Cutler 5 months ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF