Bug 1408115

Summary: Remove-brick rebalance failed while rm -rf is in progress
Product: [Community] GlusterFS Reporter: Susant Kumar Palai <spalai>
Component: distributeAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs, nbalacha, rcyriac, rhinduja, rhs-bugs, spalai, storage-qa-internal, tdesala
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.10.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1405000
: 1408138 1408414 (view as bug list) Environment:
Last Closed: 2017-03-06 17:40:49 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: 1405000, 1410355, 1410764    
Bug Blocks: 1408138, 1408414    

Comment 1 Worker Ant 2016-12-22 07:54:58 UTC
REVIEW: http://review.gluster.org/15846 (dht/rebalance: reverify lookup failures) posted (#8) for review on master by Susant Palai (spalai)

Comment 2 Worker Ant 2016-12-22 14:28:07 UTC
COMMIT: http://review.gluster.org/15846 committed in master by Atin Mukherjee (amukherj) 
------
commit c20febcb1ffaef3fa29563987e7a3b554aea27b3
Author: Susant Palai <spalai>
Date:   Tue Dec 13 14:26:53 2016 +0530

    dht/rebalance: reverify lookup failures
    
    race: readdirp has read one entry, and doing a lookup on
    that entry, but user might have renamed/removed that entry just
    after readdirp but before lookup.
    
    Since remove-brick is a costly opertaion,will ingore any
    ENOENT/ESTALE failures and move on.
    
    Change-Id: I62c7fa93c0b9b7e764065ad1574b97acf51b5996
    BUG: 1408115
    Signed-off-by: Susant Palai <spalai>
    Reviewed-on: http://review.gluster.org/15846
    Reviewed-by: Raghavendra G <rgowdapp>
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 3 Shyamsundar 2017-03-06 17:40:49 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.10.0, please open a new bug report.

glusterfs-3.10.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/gluster-users/2017-February/030119.html
[2] https://www.gluster.org/pipermail/gluster-users/