Project

General

Profile

Bug #19270

rgw_file: leaf objects (which store Unix attrs) can be deleted when children exist

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

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/14/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

We chose to omit this initially in the interest of saving latency, but especially since addition of logic to store Unix attrs on directory leaf objects. The issue has been re-raised by Gui Hecheng here: https://github.com/nfs-ganesha/nfs-ganesha/issues/153

In that ticket I proposed that we could have a low-cost check for children already cached, and a more expensive test that would be performed only if the fast check failed. After discussion w/Frank Filz, I want to withdraw the proposed fast check until such time (if it arrives) as we have a consistent caching option that would prevent false positives.


Related issues

Copied to rgw - Backport #19469: jewel: rgw_file: leaf objects (which store Unix attrs) can be deleted when children exist Resolved
Copied to rgw - Backport #19470: kraken: rgw_file: leaf objects (which store Unix attrs) can be deleted when children exist Resolved

History

#2 Updated by Yehuda Sadeh 8 months ago

  • Status changed from In Progress to Pending Backport

#3 Updated by Nathan Cutler 8 months ago

  • Copied to Backport #19469: jewel: rgw_file: leaf objects (which store Unix attrs) can be deleted when children exist added

#4 Updated by Nathan Cutler 8 months ago

  • Copied to Backport #19470: kraken: rgw_file: leaf objects (which store Unix attrs) can be deleted when children exist added

#5 Updated by Nathan Cutler 4 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF