Bug 1402406

Summary: Client stale file handle error in dht-linkfile.c under SPEC SFS 2014 VDA workload
Product: [Community] GlusterFS Reporter: Dan Lambright <dlambrig>
Component: distributeAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: mainlineCC: aclewett, amukherj, anraj, bugs, dblack, kramdoss, nbalacha, rcyriac, rhinduja, storage-qa-internal
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.12.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1388218 Environment:
Last Closed: 2017-09-05 17:25:47 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: 1388218    

Comment 1 Worker Ant 2016-12-07 13:45:10 UTC
REVIEW: http://review.gluster.org/16055 (cluster/tier: Check for phase2 migration on EINVAL error) posted (#1) for review on master by Dan Lambright (dlambrig)

Comment 2 Worker Ant 2016-12-16 13:31:13 UTC
REVIEW: http://review.gluster.org/16163 (cluster/tier: Don't update cached subvol) posted (#1) for review on master by N Balachandran (nbalacha)

Comment 3 Worker Ant 2017-05-12 12:04:18 UTC
COMMIT: https://review.gluster.org/16163 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit 3fc67c062b379562b8b121d5eed042a58cbb0b26
Author: N Balachandran <nbalacha>
Date:   Fri Dec 16 18:55:28 2016 +0530

    cluster/tier: Don't update cached subvol
    
    tier_readdirp_cbk updates the cached subvol to
    the hot tier if it finds a linkto file.
    However, if no lookup has been sent to the hot tier,
    lower layers will not have updated the inode-ctx causing
    later fops to fail.
    
    Change-Id: Ib8a5e58a6e7fd7750cf6a0ea85da611aa24c7512
    BUG: 1402406
    Signed-off-by: N Balachandran <nbalacha>
    Reviewed-on: https://review.gluster.org/16163
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Dan Lambright <dlambrig>
    Tested-by: Dan Lambright <dlambrig>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>

Comment 4 Nithya Balachandran 2017-06-06 06:09:18 UTC
I'm reopening this as this will need another patch as well. That patch is still WIP.

Comment 5 Shyamsundar 2017-09-05 17:25:47 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report.

glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html
[2] https://www.gluster.org/pipermail/gluster-users/