Bug 1535526 - glusterfind : wrong results while retrieving incremental list of files modified after last run
Summary: glusterfind : wrong results while retrieving incremental list of files modifi...
Keywords:
Status: CLOSED EOL
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterfind
Version: 3.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-17 14:58 UTC by Bhupeshraj
Modified: 2018-06-20 18:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-20 18:26:41 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Bhupeshraj 2018-01-17 14:58:25 UTC
Description of problem: glusterfind : wrong results while retrieving incremental list of files modified after last run

Version-Release number of selected component (if applicable): 3.10.3


How reproducible: 100%


Steps to Reproduce:

1. Consider we have a folder in gluster volume 

Folder1/
       File1.txt
       File2.txt


Note current time as t1.


2. Now perform these operations : 

    Create a New Folder Folder2 with files File3.txt and File4.txt.
    Delete Folder1
    Rename Folder2 to Folder1.

    Now gluster volume will contain :

    Folder1/
           File3.txt
           File4.txt

3. Perform glusterfind query --since-time=t1 glustervolume output.txt


Actual results:

NEW /mnt/glusterfs/Folder1
NEW /mnt/glusterfs/Folder1/File3.txt
NEW /mnt/glusterfs/Folder1/File4.txt
DELETE /mnt/glusterfs/Folder1/File1.txt
DELETE /mnt/glusterfs/Folder1/File2.txt
DELETE /mnt/glusterfs/Folder1

Expected results:

NEW /mnt/glusterfs/Folder1/File3.txt
NEW /mnt/glusterfs/Folder1/File4.txt
DELETE /mnt/glusterfs/Folder1/File1.txt
DELETE /mnt/glusterfs/Folder1/File2.txt

Or

DELETE /mnt/glusterfs/Folder1/File1.txt
DELETE /mnt/glusterfs/Folder1/File2.txt
DELETE /mnt/glusterfs/Folder1
NEW /mnt/glusterfs/Folder1
NEW /mnt/glusterfs/Folder1/File3.txt
NEW /mnt/glusterfs/Folder1/File4.txt

Additional info : This is reproducible 100 %

Comment 1 Shyamsundar 2018-06-20 18:26:41 UTC
This bug reported is against a version of Gluster that is no longer maintained (or has been EOL'd). See https://www.gluster.org/release-schedule/ for the versions currently maintained.

As a result this bug is being closed.

If the bug persists on a maintained version of gluster or against the mainline gluster repository, request that it be reopened and the Version field be marked appropriately.


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