Bug 1168552 - DHT + rebalance :- skipped file count is always 'zero' even though rebalance has skipped many files .
Summary: DHT + rebalance :- skipped file count is always 'zero' even though rebalance...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribute
Version: 2.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: RHGS 2.1.6
Assignee: Nithya Balachandran
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On: 1140517
Blocks: 1161518 1176659
TreeView+ depends on / blocked
 
Reported: 2014-11-27 09:49 UTC by Vivek Agarwal
Modified: 2016-02-18 00:03 UTC (History)
11 users (show)

Fixed In Version: glusterfs-3.4.0.71rhs-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Previously, executing the rebalance status command displayed incorrect values for the number of skipped and failed file migrations. With this fix, the command displays the correct values for the number of skipped and failed file migrations.
Clone Of: 1140517
Environment:
Last Closed: 2015-01-28 10:43:45 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0095 0 normal SHIPPED_LIVE Red Hat Storage 2.1 bug fix update #6 2015-01-28 15:40:30 UTC

Comment 4 Amit Chaurasia 2015-01-09 12:38:17 UTC
Verified the bug by create a set of files and folders including renaming them.
Added a brick.
Synced up the IO's,
Performed rebalance.

The number of skipped file shown in the command status matches with the number shown in log files.

Log snippet:


[2015-01-09 17:51:36.994728] I [dht-rebalance.c:1914:gf_defrag_status_get] 0-glusterfs: Rebalance is completed. Time taken is 144.00 secs
[2015-01-09 17:51:36.994768] I [dht-rebalance.c:1917:gf_defrag_status_get] 0-glusterfs: Files migrated: 308, size: 21912, lookups: 1127, failures: 0, skipped: 251 <<<<<<<< No of files skipped. <<<< 
[2015-01-09 17:51:36.995875] W [glusterfsd.c:1099:cleanup_and_exit] (-->/lib64/libc.so.6(clone+0x6d) [0x3e23ce85ad] (-->/lib64/libpthread.so.0() [0x3e24007851] (-->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xcd) [0x4052fd]))) 0-: received signum (15), shutting down

Command output:
[root@dht-rhs-24 ~]# gluster v rebalance gv0 status
                                    Node Rebalanced-files          size       scanned      failures       skipped               status   run time in secs
                               ---------      -----------   -----------   -----------   -----------   -----------         ------------     --------------
                               localhost                0        0Bytes           886             0             0            completed             120.00
                            10.70.47.114              308        21.4KB          1127             0           251            completed             144.00
volume rebalance: gv0: success: 


Marking verified.

Comment 6 errata-xmlrpc 2015-01-28 10:43:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0095.html


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