Description of problem: Glusterfind API presently is just able to mention the files which have been newly created, or have had data/metadata changes. In case a file is deleted, it is not able to get that information from the changelog file This bug is to track the progress made on that front. Version-Release number of selected component (if applicable): Glusterfs 3.7 upstream How reproducible: Always Steps to Reproduce: 1. Have a gluster volume of type distribute/replicate 2. Create 2 files 'file1' and 'file2' 3. Edit the contents of 'file2' 4. Delete 'file2' 5. Change the permissions of 'file1' to (say) read-only 6. Verify the contents of changelog file. Actual results: Step 6 should shows Entry operations for 'file1' and 'file2', followed with Data operation for 'file2', and a Metadata operation for 'file1' Delete operation of 'file2' (step4) is not recorded in the changelog file. Expected results: Delete operation of 'file2' should get recorded in the changelog file, which in turn can be used by Glusterfind.
REVIEW: http://review.gluster.org/10344 (geo-rep: Changes required as part of changelog version 1.2) posted (#1) for review on master by Kotresh HR (khiremat)
The following two patches are related the same issue which are posted. http://review.gluster.org/#/c/10288 http://review.gluster.org/#/c/10166/
REVIEW: http://review.gluster.org/10288 (feature/changelog: Capture path for deletes) posted (#4) for review on master by Kotresh HR (khiremat)
COMMIT: http://review.gluster.org/10344 committed in master by Vijay Bellur (vbellur) ------ commit 8c053f3fd16462e0afc89f409043d9462c5fa551 Author: Kotresh HR <khiremat> Date: Thu Apr 23 10:18:49 2015 +0530 geo-rep: Changes required as part of changelog version 1.2 The index value for UNLINK and RMDIR in changelog is no more the last index. It varies based on whether the 'changelog.capture-del-path' is enabled or not. Hence, fixed index is used. The option to capture deleted path in changelog comes with the patch: http://review.gluster.org/#/c/10288/ And the parser changes with http://review.gluster.org/#/c/10166/ Change-Id: Idc1a2e2bf90c888be4524d3ce74865aea09485de BUG: 1214561 Signed-off-by: Kotresh HR <khiremat> Reviewed-on: http://review.gluster.org/10344 Tested-by: NetBSD Build System Reviewed-by: Aravinda VK <avishwan>
REVIEW: http://review.gluster.org/10288 (feature/changelog: Capture path for deletes) posted (#5) for review on master by Kotresh HR (khiremat)
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#5) for review on master by Aravinda VK (avishwan)
REVIEW: http://review.gluster.org/10288 (feature/changelog: Capture path for deletes) posted (#6) for review on master by Kotresh HR (khiremat)
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#6) for review on master by Kotresh HR (khiremat)
REVIEW: http://review.gluster.org/10288 (feature/changelog: Capture path for deletes) posted (#7) for review on master by Kotresh HR (khiremat)
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#7) for review on master by Aravinda VK (avishwan)
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#9) for review on master by Aravinda VK (avishwan)
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#10) for review on master by Aravinda VK (avishwan)
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#11) for review on master by Aravinda VK (avishwan)
REVIEW: http://review.gluster.org/10620 (features/changelog: Version support for Changelog Parser) posted (#1) for review on release-3.7 by Kotresh HR (khiremat)
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.0, please open a new bug report. glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user
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