Project

General

Profile

Actions

Bug #36763

closed

rgw: set null version object issues

Added by Tianshan Qu over 5 years ago. Updated over 4 years 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 (v1):
Crash signature (v2):

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 3 (0 open3 closed)

Copied to rgw - Backport #40358: nautilus: rgw: set null version object issuesResolvedNathan CutlerActions
Copied to rgw - Backport #40359: luminous: rgw: set null version object issuesResolvedNathan CutlerActions
Copied to rgw - Backport #40360: mimic: rgw: set null version object issuesResolvedNathan CutlerActions
Actions

Also available in: Atom PDF