Bug 1318170 - marker: set inode ctx before lookup is unwind
Summary: marker: set inode ctx before lookup is unwind
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.1.3
Assignee: Manikandan
QA Contact: Anil Shah
URL:
Whiteboard:
: 1320925 1320926 (view as bug list)
Depends On:
Blocks: 1299184 1318093 1320925 1320926 1324040
TreeView+ depends on / blocked
 
Reported: 2016-03-16 08:39 UTC by Vijaikumar Mallikarjuna
Modified: 2019-12-16 05:31 UTC (History)
7 users (show)

Fixed In Version: glusterfs-3.7.9-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1320925 1320926 1324040 (view as bug list)
Environment:
Last Closed: 2016-06-23 05:11:38 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1240 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 Update 3 2016-06-23 08:51:28 UTC

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


Note You need to log in before you can comment on or make changes to this bug.