Bug 1214561 - [Backup]: To capture path for deletes in changelog file
Summary: [Backup]: To capture path for deletes in changelog file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterfind
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kotresh HR
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: qe_tracker_everglades 1217935 1218383
TreeView+ depends on / blocked
 
Reported: 2015-04-23 05:37 UTC by Sweta Anandpara
Modified: 2016-06-16 12:54 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1217935 1218383 (view as bug list)
Environment:
Last Closed: 2016-06-16 12:54:19 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Sweta Anandpara 2015-04-23 05:37:22 UTC
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.

Comment 1 Anand Avati 2015-04-23 05:47:27 UTC
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)

Comment 2 Kotresh HR 2015-04-23 08:59:54 UTC
The following two patches are related the same issue which are posted.
http://review.gluster.org/#/c/10288
http://review.gluster.org/#/c/10166/

Comment 3 Anand Avati 2015-04-23 17:44:26 UTC
REVIEW: http://review.gluster.org/10288 (feature/changelog: Capture path for deletes) posted (#4) for review on master by Kotresh HR (khiremat)

Comment 4 Anand Avati 2015-04-24 06:04:01 UTC
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>

Comment 5 Anand Avati 2015-04-30 13:38:35 UTC
REVIEW: http://review.gluster.org/10288 (feature/changelog: Capture path for deletes) posted (#5) for review on master by Kotresh HR (khiremat)

Comment 6 Anand Avati 2015-04-30 13:43:31 UTC
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#5) for review on master by Aravinda VK (avishwan)

Comment 7 Anand Avati 2015-05-01 09:54:01 UTC
REVIEW: http://review.gluster.org/10288 (feature/changelog: Capture path for deletes) posted (#6) for review on master by Kotresh HR (khiremat)

Comment 8 Anand Avati 2015-05-02 12:57:37 UTC
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#6) for review on master by Kotresh HR (khiremat)

Comment 9 Anand Avati 2015-05-02 13:38:57 UTC
REVIEW: http://review.gluster.org/10288 (feature/changelog: Capture path for deletes) posted (#7) for review on master by Kotresh HR (khiremat)

Comment 10 Anand Avati 2015-05-04 12:48:43 UTC
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#7) for review on master by Aravinda VK (avishwan)

Comment 11 Anand Avati 2015-05-05 02:02:22 UTC
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#9) for review on master by Aravinda VK (avishwan)

Comment 12 Anand Avati 2015-05-05 07:42:02 UTC
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#10) for review on master by Aravinda VK (avishwan)

Comment 13 Anand Avati 2015-05-06 07:17:16 UTC
REVIEW: http://review.gluster.org/10166 (features/changelog: Version support for Changelog Parser) posted (#11) for review on master by Aravinda VK (avishwan)

Comment 14 Anand Avati 2015-05-07 06:47:35 UTC
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)

Comment 15 Niels de Vos 2015-05-14 17:29: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.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

Comment 16 Niels de Vos 2015-05-14 17:35:56 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.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

Comment 17 Niels de Vos 2015-05-14 17:38:18 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.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

Comment 18 Niels de Vos 2015-05-14 17:46:49 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.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

Comment 19 Niels de Vos 2016-06-16 12:54:19 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


Note You need to log in before you can comment on or make changes to this bug.