Bug 1005379

Summary: Performance test failure because of infinite loop issue when renaming a file
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Luis Pabón <lpabon>
Component: gluster-swiftAssignee: Luis Pabón <lpabon>
Status: CLOSED ERRATA QA Contact: Peter Portante <pportant>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 2.1CC: madam, perfbz, pportant, rhs-bugs, sdharane, vagarwal
Target Milestone: ---   
Target Release: RHGS 2.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gluster-swift-plugin-1.8.0-7.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 22:32:34 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 Luis Pabón 2013-09-06 19:14:31 UTC
Description of problem:
From Peter Portante's Fix (http://review.gluster.org/5670) for gluster-swift master (Havana) branch:
    Fix infinite loop for temp file renames on ENOENT
    
    For whatever reason, it appears that GlusterFS, or perhaps FUSE can
    continuously return ENOENT on a rename system call even when we have
    double checked that there is no reason to do so. That is a bug for
    that sub system. However, our response to that bug can result in an
    infinite loop, which is bad.
    
    This code reduces that to 10 attempts.
    
    In addition, we restructed the open retry loop to match, providing
    module constants for the upper bounds of both retry loops.

Peter has been able to see this issue on his multiple node performance tests
for RHS 2.1.  The fix needs to be backported to upstream gluster-swift Grizzly
branch.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Luis Pabón 2013-09-06 19:22:11 UTC
Fix posted for review:  http://review.gluster.org/5848

Comment 6 Scott Haines 2013-09-23 22:32:34 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.

http://rhn.redhat.com/errata/RHBA-2013-1262.html