Bug 1454942

Summary: rgw_file: remove unlinked assertions
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Matt Benjamin (redhat) <mbenjamin>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.2CC: cbodley, ceph-eng-bugs, hnallurv, kbader, mbenjamin, owasserm, sweil, tserlin, vakulkar
Target Milestone: rcKeywords: CodeChange
Target Release: 2.3   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: RHEL: ceph-10.2.7-20.el7cp Ubuntu: ceph_10.2.7-22redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-19 13:33:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matt Benjamin (redhat) 2017-05-23 20:19:05 UTC
Description of problem:
The rgw_file/RGW nfs unlink() call path contains a live assert() that successfully unlinked objects cannot be found in a subsequent lookup.  This assert could trigger in a false positive in a multi-gateway environment racing to create/unlink objects.

Comment 2 Matt Benjamin (redhat) 2017-05-23 23:06:19 UTC
Steps to Reproduce
No requirement to reproduce.  The change removes logic to assert() in a condition that could be, but never has in development, been reproduced in a multi-gateway deployment scenario where overlapping ranges of files and directories were being simultaneously created and deleted without coordination.

Actual Results
As above.

Expected Results
As above.

Comment 8 Matt Benjamin (redhat) 2017-06-05 11:36:07 UTC
(the issue was resolved, NEEDINFO should have been cleared)

Comment 10 errata-xmlrpc 2017-06-19 13:33:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1497