Bug 1297309

Summary: Rebalance crashed after detach tier.
Product: [Community] GlusterFS Reporter: Nithya Balachandran <nbalacha>
Component: distributeAssignee: Nithya Balachandran <nbalacha>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.7.7CC: bugs, byarlaga, mselvaga, nbalacha, nchilaka
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1296611 Environment:
Last Closed: 2016-04-19 07:52:37 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: 1296134, 1296611    
Bug Blocks:    

Comment 1 Vijay Bellur 2016-01-11 07:31:43 UTC
REVIEW: http://review.gluster.org/13212 (cluster/dht : Rebalance process crashes due to double fd_unref) posted (#1) for review on release-3.7 by N Balachandran (nbalacha)

Comment 2 Vijay Bellur 2016-01-25 02:28:26 UTC
COMMIT: http://review.gluster.org/13212 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) 
------
commit 4e9ef2cc5ca8f5568bfb6328a756f4a824f69639
Author: N Balachandran <nbalacha>
Date:   Mon Jan 11 12:55:03 2016 +0530

    cluster/dht : Rebalance process crashes due to double fd_unref
    
    The dst_fd was being unrefed twice in case the call
    to __dht_rebalance_create_dst_file failed.
    
    > BUG: 1296611
    > Signed-off-by: N Balachandran <nbalacha>
    > Reviewed-on: http://review.gluster.org/13193
    > Reviewed-by: Susant Palai <spalai>
    > Reviewed-by: Raghavendra G <rgowdapp>
    > Tested-by: Raghavendra G <rgowdapp>
    (cherry picked from commit 36fcaf275952202ce3f1e621d3b3a34d58054c99)
    
    Change-Id: I56c5aff7fa3827887e67936b8aa1ecbd1a08a9e9
    BUG: 1297309
    Signed-off-by: N Balachandran <nbalacha>
    Reviewed-on: http://review.gluster.org/13212
    Reviewed-by: Raghavendra G <rgowdapp>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Tested-by: Pranith Kumar Karampuri <pkarampu>
    CentOS-regression: Gluster Build System <jenkins.com>
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 3 Kaushal 2016-04-19 07:52:37 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.7, please open a new bug report.

glusterfs-3.7.7 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-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user