Project

General

Profile

Bug #20082

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

Added by Matt Benjamin almost 7 years ago. Updated almost 7 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
jewel kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 almost 7 years 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