[Bugs] [Bug 1325792] "gluster vol heal test statistics heal-count replica" seems doesn't work

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 7 11:01:23 UTC 2016


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

jiademing.dd <iesool at 126.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(iesool at 126.com)   |



--- Comment #3 from jiademing.dd <iesool at 126.com> ---
(In reply to Ravishankar N from comment #2)
> (In reply to jiademing.dd from comment #0)
> > Description of problem:
> > I create a replica 2 volume on one node, like this:
> > Volume Name: test
> > Type: Distributed-Replicate
> > Volume ID: 7eca4759-2ffd-4970-aab8-804bb4daaca1
> > Status: Started
> > Number of Bricks: 4 x 2 = 8
> > Transport-type: tcp
> > Bricks:
> > Brick1: node-1:/disk1
> > Brick2: node-1:/disk2
> > Brick3: node-1:/disk3
> > Brick4: node-1:/disk4
> > Brick5: node-1:/disk5
> > Brick6: node-1:/disk6
> > Brick7: node-1:/disk7
> > Brick8: node-1:/disk8
> > Options Reconfigured:
> > performance.readdir-ahead: on
> > transport.address-family: inet
> > 
> > when I perform "gluster vol heal test statistics heal-count replica
> > node-1:/disk[1......8]",only Show the first set of results(test-replica-0):
> > 
> > root at node-1:~/coding/glusterfs# gluster vol heal test statistics heal-count
> > replica node-1:/disk5
> > Gathering count of entries to be healed per replica on volume test has been
> > successful 
> > 
> > Brick node-1:/disk1
> > Number of entries: 0
> > 
> > Brick node-1:/disk2
> > Number of entries: 0
> > 
> > Brick node-1:/disk3
> > No gathered input for this brick
> > 
> > Brick node-1:/disk4
> > No gathered input for this brick
> > 
> > Brick node-1:/disk5
> > No gathered input for this brick
> > 
> > Brick node-1:/disk6
> > No gathered input for this brick
> > 
> > Brick node-1:/disk7
> > No gathered input for this brick
> > 
> > Brick node-1:/disk8
> > No gathered input for this brick
> > 
> > Is this a bug?
> > 
> > 
> 
> Hi jiademing,
> This is how the current implementation is.
> See the last section of
> https://github.com/gluster/glusterfs-specs/blob/master/done/Features/afr-
> statistics.md , The command prints the values only for the replica pair
> given and for others, it prints "No gathered input for this brick".
> 
> What we could do is print the number of entries only for the bricks of the
> replica given in the command and not print anything for the other bricks. Is
> that acceptable?

Thank you for your reply, I know, but the problem is: I give other bricks not
first replica pair,that command print the first replica pair (test-replica-0)'s
info every time.

Like this:
gluster vol heal test statistics heal-count replica node-1:/disk5

 Brick node-1:/disk1
 Number of entries: 0

 Brick node-1:/disk2
 Number of entries: 0

 Brick node-1:/disk3
 No gathered input for this brick

 Brick node-1:/disk4
 No gathered input for this brick

 Brick node-1:/disk5
 No gathered input for this brick

 Brick node-1:/disk6
 No gathered input for this brick

 Brick node-1:/disk7
 No gathered input for this brick

 Brick node-1:/disk8
 No gathered input for this brick
it should print disk5 and disk6's entries,but print disk1 and disk2 every time.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4nH1DT1Aql&a=cc_unsubscribe


More information about the Bugs mailing list