Project

General

Profile

Bug #19036

rgw_file: fix recycling of invalid mkdir handles

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

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
02/22/2017
Due date:
% Done:

0%

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

Description

To avoid a string copy in the common mkdir path, handles for proposed buckets currently are staged in the handle table, before being rejected. They need to be destaged, not just marked deleted (because deleted objects are now assumed not to be linked, as of beaeff059375b44188160dbde8a81dd4f4f8c6eb).

This triggered an unhandled Boost assert when deleting staged handles, as current safe_link mode requires first removing from the FHCache.


Related issues

Duplicated by rgw - Bug #19060: rgw_file: avoid interning ".." in FHCache table and don't ref for them Duplicate 02/23/2017
Copied to rgw - Backport #19153: jewel: rgw_file: fix recycling of invalid mkdir handles Resolved
Copied to rgw - Backport #19154: kraken: rgw_file: fix recycling of invalid mkdir handles Resolved

History

#1 Updated by Ken Dreyer 9 months ago

  • Status changed from In Progress to Need Review

#2 Updated by Matt Benjamin 9 months ago

  • Status changed from Need Review to Pending Backport

#3 Updated by Matt Benjamin 9 months ago

  • Backport changed from jewel to jewel kraken

#4 Updated by Nathan Cutler 9 months ago

  • Copied to Backport #19153: jewel: rgw_file: fix recycling of invalid mkdir handles added

#5 Updated by Nathan Cutler 9 months ago

  • Copied to Backport #19154: kraken: rgw_file: fix recycling of invalid mkdir handles added

#6 Updated by Nathan Cutler 8 months ago

  • Related to Bug #19060: rgw_file: avoid interning ".." in FHCache table and don't ref for them added

#7 Updated by Nathan Cutler 8 months ago

  • Related to deleted (Bug #19060: rgw_file: avoid interning ".." in FHCache table and don't ref for them)

#8 Updated by Nathan Cutler 8 months ago

  • Duplicated by Bug #19060: rgw_file: avoid interning ".." in FHCache table and don't ref for them added

#9 Updated by Nathan Cutler 4 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF