Bug 1221584 - Disperse volume: gluster volume heal info lists entries of all bricks
Summary: Disperse volume: gluster volume heal info lists entries of all bricks
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: disperse
Version: 3.7.0
Hardware: All
OS: All
high
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: qe_tracker_everglades
TreeView+ depends on / blocked
 
Reported: 2015-05-14 12:01 UTC by Bhaskarakiran
Modified: 2016-11-23 23:11 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-28 14:31:17 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Bhaskarakiran 2015-05-14 12:01:24 UTC
Description of problem:
=======================
Gluster volume heal info lists all the entries of all the bricks instead of just the bricks which were down.

Brought down 2 of the bricks in 1x(8+4) and created 2000 files of 1g size. Brought back the bricks and given gluster v heal info.

whlie heal full throws below error:

[root@vertigo ~]# gluster v heal vol1 full
Commit failed on aff26539-85fc-47c2-8d76-854503066ccc. Please check log file for details.

Version-Release number of selected component (if applicable):
=============================================================
[root@vertigo ~]# gluster --version
glusterfs 3.7.0beta2 built on May 11 2015 01:27:46
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GlusterFS under the terms of the GNU General Public License.
[root@vertigo ~]# 


How reproducible:
================
100%

Steps to Reproduce:
1. create a 1x(8+4) disperse volume 
2. Fuse mount on the client.
3. Bring down 2 of the bricks and create 2000 files of 1g from client
4. Brick back up the bricks
5. Do heal with gluster v heal volname full and see the entries with gluster v heal volname info

Actual results:
===============
All the files in all the bricks are listed instead of just failed bricks.

Expected results:
=================

Additional info:
================
sosreport of the node will be attached.

Comment 2 Pranith Kumar K 2015-05-28 14:31:17 UTC
This is working as per expected behaviour. If the bricks are taken down at the start of untar. It will show all the files as needing heal from other bricks to the ones that are down.


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