Bug 834263 - rebalance output shows negative numbers
rebalance output shows negative numbers
Product: GlusterFS
Classification: Community
Component: cli (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Raghavendra Bhat
Depends On:
  Show dependency treegraph
Reported: 2012-06-21 07:32 EDT by Raghavendra Bhat
Modified: 2013-07-24 13:29 EDT (History)
2 users (show)

See Also:
Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-24 13:29:51 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Raghavendra Bhat 2012-06-21 07:32:41 EDT
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 status
MASTER               SLAVE                                              STATUS    
mirror                              OK        
[root@gqas004 scripts]# gluster volume rebalance mirror status
                                    Node Rebalanced-files          size       scanned      failures         status
                               ---------      -----------   -----------   -----------   -----------   ------------
                               localhost                0            0        16740         8412         failed
                   54952747465353020418916371079099919006-7049732762775798405         2065      completed
                   -48813322292539186504365440375079349386-8454170895283874500         2065      completed
                                  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:
Actual results:

Expected results:

Additional info:
Comment 1 Amar Tumballi 2012-07-11 06:08:23 EDT
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.