Bug 770346 - Remove-brick commit operation causing data loss
Summary: Remove-brick commit operation causing data loss
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard: BETA1
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2011-12-26 06:05 UTC by shylesh
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:26:25 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: 3.3.0qa33
Embargoed:


Attachments (Terms of Use)

Description shylesh 2011-12-26 06:05:39 UTC
Description of problem:
removing a brick looses all data from that brick

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

How reproducible:
often

Steps to Reproduce:
1.create a distribute volume with 2 bricks 
2.create some files and directories on the mount point
3.gluster volume remove-brick $vol $brick2 start 
4. Once the status shows completed execute "gluster volume remove-brick $vol $brick2 commit"
  
Actual results:
Number of files decreased on the mount point after the operation

Expected results:
This feature should migrate the files to the remaining bricks and there should be no data loss

Additional info:

Comment 1 Amar Tumballi 2012-03-12 09:46:35 UTC
please update these bugs w.r.to 3.3.0qa27, need to work on it as per target milestone set.

Comment 2 shylesh 2012-03-12 10:23:06 UTC
 This bug is still reproducible on  3.3.0qa27

(In reply to comment #1)
> please update these bugs w.r.to 3.3.0qa27, need to work on it as per target
> milestone set.

Comment 3 Amar Tumballi 2012-03-13 12:34:06 UTC
patch sent : http://review.gluster.com/2933

Comment 4 Anand Avati 2012-03-14 10:24:32 UTC
CHANGE: http://review.gluster.com/2933 (distribute-rebalance: fix the logic of ENOENT handling) merged in master by Vijay Bellur (vijay)

Comment 5 shylesh 2012-04-09 06:42:08 UTC
Data loss upon single brick removal is fixed, however removing multiple bricks at the same time has issues will log a new bug.


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