Bug 1234286

Summary: changelog: directory renames not getting recorded
Product: [Community] GlusterFS Reporter: Milind Changire <mchangir>
Component: geo-replicationAssignee: Milind Changire <mchangir>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: avishwan, bugs, sarumuga
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1235236 1235242 (view as bug list) Environment:
Last Closed: 2016-06-16 13:14:28 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:
Bug Depends On:    
Bug Blocks: 1223636, 1234282, 1235236, 1235242    
Attachments:
Description Flags
Changelog parser for v1.2 none

Description Milind Changire 2015-06-22 09:51:14 UTC
Created attachment 1041692 [details]
Changelog parser for v1.2

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

Comment 1 Anand Avati 2015-06-22 11:13:40 UTC
REVIEW: http://review.gluster.org/11343 (changelog: directory renames not getting recorded) posted (#2) for review on master by Milind Changire (mchangir)

Comment 2 Anand Avati 2015-06-22 12:15:53 UTC
REVIEW: http://review.gluster.org/11343 (changelog: directory renames not getting recorded) posted (#3) for review on master by Saravanakumar Arumugam (sarumuga)

Comment 3 Anand Avati 2015-06-22 12:39:27 UTC
REVIEW: http://review.gluster.org/11343 (changelog: directory renames not getting recorded) posted (#4) for review on master by Milind Changire (mchangir)

Comment 4 Anand Avati 2015-06-23 05:08:11 UTC
REVIEW: http://review.gluster.org/11343 (changelog: directory renames not getting recorded) posted (#5) for review on master by Milind Changire (mchangir)

Comment 5 Saravanakumar 2015-06-23 14:29:36 UTC
Update:

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

Comment 6 Anand Avati 2015-06-24 02:45:18 UTC
REVIEW: http://review.gluster.org/11356 (features/changelog: Always log directory rename operations) posted (#3) for review on master by Vijay Bellur (vbellur)

Comment 7 Milind Changire 2016-02-15 06:41:43 UTC
*** Bug 1234282 has been marked as a duplicate of this bug. ***

Comment 8 Niels de Vos 2016-06-16 13:14:28 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