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
REVIEW: http://review.gluster.org/11343 (changelog: directory renames not getting recorded) posted (#2) for review on master by Milind Changire (mchangir)
REVIEW: http://review.gluster.org/11343 (changelog: directory renames not getting recorded) posted (#3) for review on master by Saravanakumar Arumugam (sarumuga)
REVIEW: http://review.gluster.org/11343 (changelog: directory renames not getting recorded) posted (#4) for review on master by Milind Changire (mchangir)
REVIEW: http://review.gluster.org/11343 (changelog: directory renames not getting recorded) posted (#5) for review on master by Milind Changire (mchangir)
Update: Patch http://review.gluster.org/#/c/11356/ fixes this issue.
REVIEW: http://review.gluster.org/11356 (features/changelog: Always log directory rename operations) posted (#3) for review on master by Vijay Bellur (vbellur)
*** Bug 1234282 has been marked as a duplicate of this bug. ***
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