Project

General

Profile

Bug #20082

rgw_file: bucket uxattrs not restored correctly (because set on "<bucket>/")

Added by Matt Benjamin 4 months ago. Updated 4 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/25/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
jewel kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

This turns out to be the corollary of the earlier bug in removing buckets w/uxattrs. Rather than conditionally put the attrs on a '/' object, put them on the bucket--because that works, and will be slightly more efficient when the check for the '/' object goes away.

History

#1 Updated by Matt Benjamin 4 months ago

Further explication: this reproduced as unix attrs set on buckets 'changing back' to their default values after a restart, or on expiration of the directory (e.g., 5m after listing the bucket).

Also available in: Atom PDF