[Bugs] [Bug 1235242] New: changelog: directory renames not getting recorded

bugzilla at redhat.com bugzilla at redhat.com
Wed Jun 24 11:43:45 UTC 2015


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

            Bug ID: 1235242
           Summary: changelog: directory renames not getting recorded
           Product: GlusterFS
           Version: 3.7.0
         Component: geo-replication
          Assignee: bugs at gluster.org
          Reporter: sarumuga at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    mchangir at redhat.com, sarumuga at redhat.com
        Depends On: 1234286
            Blocks: 1234282, 1235236



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

Description of problem:
Directory renames are not getting recorded


Version-Release number of selected component (if applicable):
v1.2


How reproducible:
Always


Steps to Reproduce:
1. create a volume vol1
2. mount vol1 at /mnt/vol1
3. cd /mnt/vol1
4. mkdir dir1
5. mv dir1 dir2      # wait for 20 seconds for changelog flush
6. on all of the bricks verify that changelogs don't have the
   RENAME <pgfid>/dir1 <pgfid>/dir2
   operation being logged


Actual results:
MKDIR dir1


Expected results:
MKDIR dir1
RENAME dir1 dir2


Additional info:
Changelogs at the bricks can be parsed using the attached python script for
changelog v1.2

--- Additional comment from Anand Avati on 2015-06-22 07:13:40 EDT ---

REVIEW: http://review.gluster.org/11343 (changelog: directory renames not
getting recorded) posted (#2) for review on master by Milind Changire
(mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-06-22 08:15:53 EDT ---

REVIEW: http://review.gluster.org/11343 (changelog: directory renames not
getting recorded) posted (#3) for review on master by Saravanakumar Arumugam
(sarumuga at redhat.com)

--- Additional comment from Anand Avati on 2015-06-22 08:39:27 EDT ---

REVIEW: http://review.gluster.org/11343 (changelog: directory renames not
getting recorded) posted (#4) for review on master by Milind Changire
(mchangir at redhat.com)

--- Additional comment from Anand Avati on 2015-06-23 01:08:11 EDT ---

REVIEW: http://review.gluster.org/11343 (changelog: directory renames not
getting recorded) posted (#5) for review on master by Milind Changire
(mchangir at redhat.com)

--- Additional comment from Saravanakumar on 2015-06-23 10:29:36 EDT ---

Update:

Patch http://review.gluster.org/#/c/11356/ fixes this issue.

--- Additional comment from Anand Avati on 2015-06-23 22:45:18 EDT ---

REVIEW: http://review.gluster.org/11356 (features/changelog: Always log
directory rename operations) posted (#3) for review on master by Vijay Bellur
(vbellur at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1234282
[Bug 1234282] [Backup]: Directory creation followed by its subsequent
movement logs a NEW entry with the old path
https://bugzilla.redhat.com/show_bug.cgi?id=1234286
[Bug 1234286] changelog: directory renames not getting recorded
https://bugzilla.redhat.com/show_bug.cgi?id=1235236
[Bug 1235236] changelog: directory renames not getting recorded
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list