Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1286656

Summary: Data Tiering:Read heat not getting calculated and read operations not heating the file with counter enabled
Product: [Community] GlusterFS Reporter: Joseph Elwin Fernandes <josferna>
Component: tieringAssignee: Joseph Elwin Fernandes <josferna>
Status: CLOSED CURRENTRELEASE QA Contact: bugs <bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, dlambrig, josferna, nchilaka, sankarshan, sarumuga
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1286654
: 1287583 (view as bug list) Environment:
Last Closed: 2016-06-16 13:47:31 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: 1286654    
Bug Blocks: 1287583    

Comment 1 Vijay Bellur 2015-11-30 12:21:18 UTC
REVIEW: http://review.gluster.org/12823 (tier/libgfdb/sql: Correcting logic in sql query for read) posted (#3) for review on master by Joseph Fernandes

Comment 2 Vijay Bellur 2015-12-02 03:20:22 UTC
REVIEW: http://review.gluster.org/12823 (tier/libgfdb/sql: Correcting logic in sql query for read) posted (#4) for review on master by Dan Lambright (dlambrig)

Comment 3 Vijay Bellur 2015-12-02 04:01:13 UTC
REVIEW: http://review.gluster.org/12823 (tier/libgfdb/sql: Correcting logic in sql query for read) posted (#5) for review on master by Dan Lambright (dlambrig)

Comment 4 Vijay Bellur 2015-12-02 18:43:23 UTC
REVIEW: http://review.gluster.org/12823 (tier/libgfdb/sql: Correcting logic in sql query for read) posted (#6) for review on master by Dan Lambright (dlambrig)

Comment 5 Vijay Bellur 2015-12-03 03:43:11 UTC
COMMIT: http://review.gluster.org/12823 committed in master by Dan Lambright (dlambrig) 
------
commit bdfd087d76cbf6336805c6c55c0e0935dfd29a9d
Author: Joseph Fernandes <josferna>
Date:   Mon Nov 30 16:51:35 2015 +0530

    tier/libgfdb/sql: Correcting logic in sql query for read
    
    Correcting query in the  where clause
    
    from "a & b | c"
    
    to "a & (b | c)"
    
    where "a" is the condition to join the gf_file_tb and gf_flink_tb
    through gfids
    
    "b" is the condition for the write heat
    and "c" is the condition for read heat
    
    Change-Id: I99226d82b0efb68fbef3a40f02b215bb2b4370d6
    BUG: 1286656
    Signed-off-by: Joseph Fernandes <josferna>
    Signed-off-by: Dan Lambright <dlambrig>
    Reviewed-on: http://review.gluster.org/12823
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>

Comment 6 Niels de Vos 2016-06-16 13:47:31 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