Bug 1025404

Summary: Delete processes exiting with directory not empty error.
Product: [Community] GlusterFS Reporter: Dean Bruhn <deanbruhn>
Component: replicateAssignee: bugs <bugs>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: atumball, bugs, deanbruhn, pkarampu, ravishankar
Target Milestone: ---Keywords: Triaged
Target Release: ---Flags: deanbruhn: needinfo-
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-10 12:39:30 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:

Description Dean Bruhn 2013-10-31 15:33:11 UTC
Description of problem:
When running a delete process the system will error out reporting the directory is not empty. If you re-run the delete it will make it then actually delete. The issue seems to be related to files that have an existing self-heal issue.  

Version-Release number of selected component (if applicable):
Gluster 3.3.2
Redhat 6.4

How reproducible:
Delete a file that has an existing self heal issue.

Steps to Reproduce:
1. Find a file with a self-heal issue
2. Run a delete - Error will be produced
3. Run Again - Will succeed

Actual results:
Doesn't delete the file

Expected results:
Should delete the file

Additional info:
It seems it might be advantageous to caused the self heal action to run and wait then resume the delete operation since the end goals is to actually remove the file. 

Not sure if this is related to bug# 966848

Comment 1 Soumya Koduri 2015-12-08 12:28:31 UTC
Could you please explain the self-heal issue which you are referring to in the bug description.
Also Gluster 3.3.2 seem to be old release. Please test the same on the latest gluster build and check if you still see the issue.

Comment 2 Amar Tumballi 2017-08-10 12:39:30 UTC
Closing for the inactivity!