Bug 1275917 - [New] - Promote and demote files in gluster volume tier <vol_name> status are misleading
Summary: [New] - Promote and demote files in gluster volume tier <vol_name> status are...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: tier
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: hari gowtham
QA Contact: Bala Konda Reddy M
URL:
Whiteboard:
Depends On:
Blocks: 1358580
TreeView+ depends on / blocked
 
Reported: 2015-10-28 06:28 UTC by RamaKasturi
Modified: 2023-09-14 03:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1358580 (view as bug list)
Environment:
Last Closed: 2018-02-06 17:43:21 UTC
Embargoed:


Attachments (Terms of Use)

Description RamaKasturi 2015-10-28 06:28:37 UTC
Description of problem:
Files in a tiered volume gets promoted and demoted based on  how frequently they are accessed and user can see these numbers in gluster volume tier <vol_name> status output.
I see that the numbers in the promoted and demoted files column are growing cumulatively irrespective of actual number of files present in the volume.

I think there should be a reset introduced some where to show the correct number of files which are getting promoted/demoted otherwise it would create confusion to the user as there are always more number of files listed in the gluster volume tier <vol_name> status output than what is actually present in the volume.

Version-Release number of selected component (if applicable):
glusterfs-3.7.5-0.3.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create an EC volume as cold tier and attach distribute replicate as hot tier.
2. Mount the tiered volume using fuse mount and create 50 files.
3. Access some files so that they get promoted.

Actual results:
Though there are only 50 files in the actual volume tier status output shows that there are more number of files than that.

[root@dhcp37-218 ~]# gluster vol tier vol_ec status
Node                 Promoted files       Demoted files        Status              
---------            ---------            ---------            ---------           
localhost            234                  0                    in progress         
10.70.37.113         0                    235                  in progress         
volume rebalance: vol_ec: success: 


Expected results:
Tier status should only show the actual no of files which gets promoted or demoted and files should not be more than actual no of files present in the mount point.

Additional info:

Comment 2 Vivek Agarwal 2015-10-30 18:20:55 UTC
Seems to be difficult, the tiering process is continously running. At what point in time does it reset to zero and then count forward again

Comment 7 Shyamsundar 2018-02-06 17:43:21 UTC
Thank you for your bug report.

We are no longer working on any improvements for Tier. This bug will be set to CLOSED WONTFIX to reflect this. Please reopen if the rfe is deemed critical.

Comment 8 Red Hat Bugzilla 2023-09-14 03:12:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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