Bug 834263 - rebalance output shows negative numbers
Summary: rebalance output shows negative numbers
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: cli
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raghavendra Bhat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-21 11:32 UTC by Raghavendra Bhat
Modified: 2013-07-24 17:29 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.4.0
Clone Of:
Environment:
Last Closed: 2013-07-24 17:29:51 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Raghavendra Bhat 2012-06-21 11:32:41 UTC
Description of problem:

There were huge number of files in the volume (more than a million and were still being created) when add brick was done to a pure replicate volume (making it 2x2 distributed replicate). Then rebalance is issued on the volume. After hours when status of the rebalance is checked this is what was printed.

gluster volume geo-replication mirror 10.16.156.18:/export/gsync status
MASTER               SLAVE                                              STATUS    
--------------------------------------------------------------------------------
mirror               10.16.156.18:/export/gsync                         OK        
[root@gqas004 scripts]# gluster volume rebalance mirror status
                                    Node Rebalanced-files          size       scanned      failures         status
                               ---------      -----------   -----------   -----------   -----------   ------------
                               localhost                0            0        16740         8412         failed
                            10.16.156.12 54952747465353020418916371079099919006-7049732762775798405         2065      completed
                            10.16.156.15 -48813322292539186504365440375079349386-8454170895283874500         2065      completed
                            10.16.156.18                0            0      2579125            0      completed

i.e. negative numbers are printed. But the information regarding rebalance such as number of files rebalanced, total size that was migrated, number of failures while rebalancing, total lookups etc cannot be -ve.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Amar Tumballi 2012-07-11 10:08:23 UTC
fixed by patch @ http://review.gluster.com/3608


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