Bug 1121186
Summary: | DHT : If Directory deletion is in progress and lookup from another mount heals that Directory on sub-volumes. then rmdir/rm -rf on parents fails with error 'Directory not empty' | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rachana Patel <racpatel> |
Component: | distribute | Assignee: | Sakshi <sabansal> |
Status: | CLOSED ERRATA | QA Contact: | krishnaram Karthick <kramdoss> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.0 | CC: | mzywusko, nbalacha, rcyriac, rhinduja, sabansal, sankarshan, smohan, spalai |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | RHGS 3.1.3 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | dht-rm-rf | ||
Fixed In Version: | glusterfs-3.7.9-4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-06-23 04:53:27 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: | 1115367 | ||
Bug Blocks: | 1299184 |
Description
Rachana Patel
2014-07-18 15:08:22 UTC
sorry but expected result should be Expected results: ================= Directory deletion should not fail with this error, If Directory is empty and it should delte Directory from all sub-volume Sakshi, Isn't it that this bug, "Depends on" 1115367 (instead of blocks)? Since 1115367 is moved to MODIFIED, can we move this bug to MODIFIED? regards, Raghavendra. (In reply to Raghavendra G from comment #8) > Sakshi, > > Isn't it that this bug, "Depends on" 1115367 (instead of blocks)? Since > 1115367 is moved to MODIFIED, can we move this bug to MODIFIED? > > regards, > Raghavendra. Correct. Modified this BZ. Verified the fix in build - glusterfs-3.7.9-4 on both NFS and Fuse mounts separately. The issue reported in this bug was not seen. i.e., 'directory not empty' errors were not seen. Tests that was run to validate the fix: - rm -rf + lookups from different mount points on the same directory with lots of sub-dirs 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 |