Bug 1330428

Summary: [tiering]: during detach tier operation, Input/output error is seen with new file writes on NFS mount
Product: [Community] GlusterFS Reporter: Mohammed Rafi KC <rkavunga>
Component: tieringAssignee: Mohammed Rafi KC <rkavunga>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.11CC: bugs, kramdoss, nchilaka, rkavunga
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1329503 Environment:
Last Closed: 2016-06-28 12:15:11 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: 1326248, 1329503    
Bug Blocks: 1329505    

Comment 1 Vijay Bellur 2016-04-26 08:46:46 UTC
REVIEW: http://review.gluster.org/14070 (tier/dht: check for rebalance completion for EIO error) posted (#1) for review on release-3.7 by mohammed rafi  kc (rkavunga)

Comment 2 Vijay Bellur 2016-04-28 12:32:04 UTC
COMMIT: http://review.gluster.org/14070 committed in release-3.7 by Raghavendra G (rgowdapp) 
------
commit b1d95449adbb40bfccef116914e43d08efae44af
Author: Mohammed Rafi KC <rkavunga>
Date:   Fri Apr 22 12:07:31 2016 +0530

    tier/dht: check for rebalance completion for EIO error
    
    When an ongoing rebalance completion check task been
    triggered by dht, there is a possibility of a race
    between afr setting subvol as non-readable and dht updates
    the cached subvol. In this window a write can fail with EIO.
    
    Back port of>
    >Change-Id: I42638e6d4104c0dbe893d1bc73e1366188458c5d
    >BUG: 1329503
    >Signed-off-by: Mohammed Rafi KC <rkavunga>
    >Reviewed-on: http://review.gluster.org/14049
    >NetBSD-regression: NetBSD Build System <jenkins.org>
    >Smoke: Gluster Build System <jenkins.com>
    >CentOS-regression: Gluster Build System <jenkins.com>
    >Reviewed-by: N Balachandran <nbalacha>
    >Reviewed-by: Jeff Darcy <jdarcy>
    
    (cherry picked from commit a9ccd0c8ea6989c72073028b296f73a6fcb6b896)
    
    Change-Id: Ifc741f05a9cfe5c1d9c03085312ebbf21b8b798b
    BUG: 1330428
    Signed-off-by: Mohammed Rafi KC <rkavunga>
    Reviewed-on: http://review.gluster.org/14070
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: N Balachandran <nbalacha>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 3 Kaushal 2016-06-28 12:15:11 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.7.12, please open a new bug report.

glusterfs-3.7.12 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] https://www.gluster.org/pipermail/gluster-devel/2016-June/049918.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user