Bug 1318170

Summary: marker: set inode ctx before lookup is unwind
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: quotaAssignee: Manikandan <mselvaga>
Status: CLOSED ERRATA QA Contact: Anil Shah <ashah>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: asrivast, rcyriac, rhinduja, rhs-bugs, sankarshan, smohan, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.9-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1320925 1320926 1324040 (view as bug list) Environment:
Last Closed: 2016-06-23 05:11:38 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:
Bug Depends On:    
Bug Blocks: 1299184, 1318093, 1320925, 1320926, 1324040    

Description Vijaikumar Mallikarjuna 2016-03-16 08:39:23 UTC
When a file is unlinked before it was accounted by the marker,
then we may see error "ctx for the node ... is NULL" at many places.

It is better to set the inode ctx before lookup is unwind
back to protocol server.

Comment 1 Vijaikumar Mallikarjuna 2016-03-16 08:43:18 UTC
Patch submitted upstream: http://review.gluster.org/#/c/13748/

Comment 3 Vijaikumar Mallikarjuna 2016-03-24 10:22:53 UTC
This issue was seen at Goldman Sachs setups and we are providing a hotfix.
Patch is already merged upstream: http://review.gluster.org/#/c/13748/.
It is good to include the fix in 3.1.3 as well.

Thanks,
Vijay

Comment 4 Mike McCune 2016-03-28 23:44:20 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 5 Vijaikumar Mallikarjuna 2016-04-05 09:30:17 UTC
*** Bug 1320925 has been marked as a duplicate of this bug. ***

Comment 7 Vijaikumar Mallikarjuna 2016-04-05 12:01:49 UTC
*** Bug 1320926 has been marked as a duplicate of this bug. ***

Comment 12 Anil Shah 2016-04-27 12:27:48 UTC
Set network.inode-lru-limit 1 
Enabled quota and limit usage
Created some file on client and deleted it.

Not seeing any errors in bricks logs.

Bug verified on build glusterfs-3.7.9-2.el7rhgs.x86_64.

Comment 17 errata-xmlrpc 2016-06-23 05:11:38 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-2016:1240