[Bugs] [Bug 1230715] New: [Backup]: Glusterfind delete does not delete the session related information present in $GLUSTERD_WORKDIR

bugzilla at redhat.com bugzilla at redhat.com
Thu Jun 11 12:41:00 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1230715

            Bug ID: 1230715
           Summary: [Backup]: Glusterfind delete does not delete the
                    session related information present in
                    $GLUSTERD_WORKDIR
           Product: GlusterFS
           Version: 3.7.0
         Component: glusterfind
          Severity: medium
          Priority: low
          Assignee: bugs at gluster.org
          Reporter: avishwan at redhat.com
        QA Contact: bugs at gluster.org
                CC: avishwan at redhat.com, bugs at gluster.org,
                    khiremat at redhat.com, mchangir at redhat.com,
                    sanandpa at redhat.com
        Depends On: 1229623, 1230111
            Blocks: 1223636



+++ This bug was initially created as a clone of Bug #1230111 +++

+++ 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.

--- Additional comment from Anand Avati on 2015-06-10 05:31:31 EDT ---

REVIEW: http://review.gluster.org/11157 (tools/glusterfind: Cleanup session dir
after delete) posted (#1) for review on master by Aravinda VK
(avishwan at redhat.com)

--- Additional comment from Anand Avati on 2015-06-10 12:44:39 EDT ---

REVIEW: http://review.gluster.org/11157 (tools/glusterfind: Cleanup session dir
after delete) posted (#2) for review on master by Aravinda VK
(avishwan at redhat.com)

--- Additional comment from Anand Avati on 2015-06-11 02:41:58 EDT ---

REVIEW: http://review.gluster.org/11157 (tools/glusterfind: Cleanup session dir
after delete) posted (#3) for review on master by Aravinda VK
(avishwan at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1223636
[Bug 1223636] 3.1 QE Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1229623
[Bug 1229623] [Backup]: Glusterfind delete does not delete the session
related information present in $GLUSTERD_WORKDIR
https://bugzilla.redhat.com/show_bug.cgi?id=1230111
[Bug 1230111] [Backup]: Glusterfind delete does not delete the session
related information present in $GLUSTERD_WORKDIR
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list