Bug 1272006

Summary: tools/glusterfind: add query command to list files without session
Product: [Community] GlusterFS Reporter: Milind Changire <mchangir>
Component: glusterfindAssignee: Milind Changire <mchangir>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: avishwan, khiremat
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:
: 1272007 1272008 (view as bug list) Environment:
Last Closed: 2016-06-16 13:40:19 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: 1272007, 1272008    

Description Milind Changire 2015-10-15 09:21:38 UTC
Description of problem:
When session information is maintained outside Gluster, there needs to be a mechanism to retrieve files starting from a particular time-stamp. This specific requirement has been initiated by Open Source Backup and Recovery software: bareos

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vijay Bellur 2015-10-15 09:35:16 UTC
REVIEW: http://review.gluster.org/12362 (tools/glusterfind: add query command to list files without session) posted (#1) for review on master by Milind Changire (mchangir)

Comment 2 Vijay Bellur 2015-10-15 09:53:52 UTC
REVIEW: http://review.gluster.org/12362 (tools/glusterfind: add query command to list files without session) posted (#2) for review on master by Milind Changire (mchangir)

Comment 3 Vijay Bellur 2015-10-16 09:52:46 UTC
REVIEW: http://review.gluster.org/12362 (tools/glusterfind: add query command to list files without session) posted (#3) for review on master by Milind Changire (mchangir)

Comment 4 Vijay Bellur 2015-10-19 07:12:27 UTC
REVIEW: http://review.gluster.org/12362 (tools/glusterfind: add query command to list files without session) posted (#4) for review on master by Milind Changire (mchangir)

Comment 5 Vijay Bellur 2015-11-02 10:00:26 UTC
REVIEW: http://review.gluster.org/12362 (tools/glusterfind: add query command to list files without session) posted (#5) for review on master by Milind Changire (mchangir)

Comment 6 Vijay Bellur 2015-11-19 05:16:15 UTC
REVIEW: http://review.gluster.org/12362 (tools/glusterfind: add query command to list files) posted (#12) for review on master by Milind Changire (mchangir)

Comment 7 Vijay Bellur 2015-11-23 16:59:48 UTC
REVIEW: http://review.gluster.org/12362 (tools/glusterfind: add query command to list files) posted (#13) for review on master by Milind Changire (mchangir)

Comment 8 Vijay Bellur 2015-11-25 06:29:21 UTC
COMMIT: http://review.gluster.org/12362 committed in master by Venky Shankar (vshankar) 
------
commit a56e32e19703c0fbe2cedebcaf5edc8a6307d5a1
Author: Milind Changire <mchangir>
Date:   Thu Oct 15 15:01:23 2015 +0530

    tools/glusterfind: add query command to list files
    
    When session information is maintained outside Gluster, there needs to
    be some mechanism to list files starting from a time-stamp. This patch
    implements the feature via the "query" command-line option.
    
    The only caveat is that the first time the query command is run for the
    volume, it will likely report that "historical changelogs are not
    available". This is due to the fact that changelogs had not been turned
    on for the volume so far. So the volume options need to be turned on
    outside glusterfind or the since_time need to be greater than the
    current time when the query command is run for the very first time for
    the volume. The query command turns on the required volume options for
    collecting changelogs.
    
    Change-Id: I6cb7a57a5ecd166210e2eb4deede06d40ccfa996
    BUG: 1272006
    Signed-off-by: Milind Changire <mchangir>
    Reviewed-on: http://review.gluster.org/12362
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Aravinda VK <avishwan>

Comment 9 Niels de Vos 2016-06-16 13:40: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