Bug 1230111 - [Backup]: Glusterfind delete does not delete the session related information present in $GLUSTERD_WORKDIR
Summary: [Backup]: Glusterfind delete does not delete the session related information ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterfind
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Aravinda VK
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On: 1229623
Blocks: 1223636 1230715
TreeView+ depends on / blocked
 
Reported: 2015-06-10 09:21 UTC by Aravinda VK
Modified: 2016-06-16 13:10 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of: 1229623
: 1230715 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:10:41 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Aravinda VK 2015-06-10 09:21:21 UTC
+++ This bug was initially created as a clone of Bug #1229623 +++

Description of problem:

When we choose to not go ahead with a particular session, we use glusterfind delete to delete the entry from the list. However, that leaves the session directory and all the information under it (at the location /var/lib/glusterd/glusterfind/) intact. 

True, it doesn't hamper or come in the way of creating another session with the same name, but it does lead to unnecessary confusion. 

Same is the case with LOGS at /var/log/glusterfs/glusterfind/. But we would want to store the logs for some later point of time in future. 

Version-Release number of selected component (if applicable):
glusterfs-3.7.0-3.el6rhs.x86_64

How reproducible: Always


Steps to Reproduce:
1. Have a 2node cluster, create a volume 'ozone' and a glusterfind session 'sesso1'
2. Run pre and post a couple of times
3. Execute glusterfind delete to delete the session 'sesso1'
4. Check the contents of /var/lib/glusterd/glusterfind/sesso1/ozone

Actual results:

Step4 displays the status information related to 'sesso1'

Expected results:

Glusterfind delete should delete teh directory 'sesso1' and its entire contents

--- Additional comment from Aravinda VK on 2015-06-09 13:25:36 EDT ---

Since stale directories observed only in backend and not exposed to user. Moving the priority to LOW.

Comment 1 Anand Avati 2015-06-10 09:31:31 UTC
REVIEW: http://review.gluster.org/11157 (tools/glusterfind: Cleanup session dir after delete) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 2 Anand Avati 2015-06-10 16:44:39 UTC
REVIEW: http://review.gluster.org/11157 (tools/glusterfind: Cleanup session dir after delete) posted (#2) for review on master by Aravinda VK (avishwan)

Comment 3 Anand Avati 2015-06-11 06:41:58 UTC
REVIEW: http://review.gluster.org/11157 (tools/glusterfind: Cleanup session dir after delete) posted (#3) for review on master by Aravinda VK (avishwan)

Comment 4 Niels de Vos 2016-06-16 13:10:41 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.8.0, please open a new bug report.

glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.