[Bugs] [Bug 1262860] New: Data Tiering: Tiering deamon is seeing each part of a file in a Disperse cold volume as a different file

bugzilla at redhat.com bugzilla at redhat.com
Mon Sep 14 13:40:34 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1262860

            Bug ID: 1262860
           Summary: Data Tiering: Tiering deamon is seeing each part of a
                    file in a Disperse cold volume as a different file
           Product: GlusterFS
           Version: 3.7.4
         Component: tiering
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: nchilaka at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org



Description of problem:
========================
On a EC cold volume, when files are promoted or demoted to/from hot tier,
it seems like the tier deamon is seeing each copy or part of the file as a
seperate different file. The counter atleast say this.

I had 3 files on a 2 x (4 + 2) = 12 EC cold volume.
When they were promoted or demoted to/from a distrep hot tier,
the stats show each file is counted as 6 times, with 1 time showing the success
while the other 5 registering as failure.

Version-Release number of selected component (if applicable):
===========================================================
[root at zod glusterfs]# rpm -qa|grep gluster
glusterfs-client-xlators-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-api-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-fuse-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-debuginfo-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-server-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
glusterfs-cli-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
^[[Aglusterfs-libs-3.7.4-0.33.git1d02d4b.el7.centos.x86_64
[root at zod glusterfs]# gluster --version
glusterfs 3.7.4 built on Sep 12 2015 01:35:35
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General
Public License.
[root at zod glusterfs]# 




Steps to Reproduce:
====================
1.Create a EC cold vol and distrep hot tier
2.Now set promo/demote freq after enabling ctr
3.Now create a file and wait for it to demote and then make it get promoted.
It can be seen that though it is one file, each copy of the file in each brick
is considered as different file and the promote/demote counters show them as
failed.


Below was the case where I had 3 files(compare promote/demote numbers with
failures)
====================================

[root at zod glusterfs]# gluster v rebal redhat status; gluster v tier redhat
status
                                    Node Rebalanced-files          size      
scanned      failures       skipped               status   run time in secs
                               ---------      -----------   -----------  
-----------   -----------   -----------         ------------     --------------
                               localhost                9        0Bytes        
   31            22             0          in progress            1393.00
                                  yarrow                8        0Bytes        
   36            28             0          in progress            1393.00
volume rebalance: redhat: success: 

Node                 Promoted files       Demoted files        Status           
---------            ---------            ---------            ---------        
localhost            9                    0                    in progress      
yarrow               0                    8                    in progress      
volume rebalance: redhat: success: 


[root at zod glusterfs]# gluster v rebal redhat status; gluster v tier redhat
status
                                    Node Rebalanced-files          size      
scanned      failures       skipped               status   run time in secs
                               ---------      -----------   -----------  
-----------   -----------   -----------         ------------     --------------
                               localhost                9        0Bytes        
   33            24             0          in progress            1701.00
                                  yarrow               10        0Bytes        
   38            28             0          in progress            1701.00
volume rebalance: redhat: success: 
Node                 Promoted files       Demoted files        Status           
---------            ---------            ---------            ---------        
localhost            9                    0                    in progress      
yarrow               0                    10                   in progress

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list