Bug 1235242 - changelog: directory renames not getting recorded
Summary: changelog: directory renames not getting recorded
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Saravanakumar
QA Contact:
URL:
Whiteboard:
Depends On: 1234286
Blocks: 1234282 1235236
TreeView+ depends on / blocked
 
Reported: 2015-06-24 11:43 UTC by Saravanakumar
Modified: 2015-07-30 09:48 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.7.3
Doc Type: Bug Fix
Doc Text:
Clone Of: 1234286
Environment:
Last Closed: 2015-07-30 09:48:43 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Saravanakumar 2015-06-24 11:43:45 UTC
+++ 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)

--- 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)

--- 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)

--- 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)

--- 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)

Comment 1 Anand Avati 2015-06-24 11:44:31 UTC
REVIEW: http://review.gluster.org/11378 (features/changelog: Always log directory rename operations) posted (#2) for review on release-3.7 by Saravanakumar Arumugam (sarumuga)

Comment 2 Anand Avati 2015-06-24 11:49:25 UTC
REVIEW: http://review.gluster.org/11378 (features/changelog: Always log directory rename operations) posted (#3) for review on release-3.7 by Saravanakumar Arumugam (sarumuga)

Comment 3 Anand Avati 2015-06-28 14:45:39 UTC
COMMIT: http://review.gluster.org/11378 committed in release-3.7 by Vijay Bellur (vbellur) 
------
commit 8305c0e52b0933d55bb08e3d0b42da8b39e9cab9
Author: Vijay Bellur <vbellur>
Date:   Mon Jun 22 19:01:39 2015 -0400

    features/changelog: Always log directory rename operations
    
    Directory renames are being ignored as special renames. Special
    renames can happen only on files. Hence always log directory
    rename operations in changelog.
    
    Change-Id: I4fbdb3e02e634a39a8846fb2f7a4c6cc2ba74400
    BUG: 1235242
    Reviewed-On: http://review.gluster.org/11356
    Signed-off-by: Vijay Bellur <vbellur>
    Reviewed-on: http://review.gluster.org/11378
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kotresh HR <khiremat>

Comment 4 Kaushal 2015-07-30 09:48:43 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.7.3, please open a new bug report.

glusterfs-3.7.3 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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/12078
[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.