Bug 812770 - Removing multiple bricks simultaneously causes data loss
Summary: Removing multiple bricks simultaneously causes data loss
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: pre-release
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Amar Tumballi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-04-16 08:00 UTC by shylesh
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 18:01:32 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: 3.3.0qa36
Embargoed:


Attachments (Terms of Use)

Description shylesh 2012-04-16 08:00:15 UTC
Description of problem:
Removing multiple bricks at the same time causes data loss

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


How reproducible:


Steps to Reproduce:
1. create a distribute volume with 3 bricks
2. fill up with some data and count the number of files created
3. Now start remove-brick after the remove-brick completes commit the operation
4. check the number of files on the mount point 
  
Actual results:
After Remove-brick commit causes data loss.


Expected results:


Additional info:

Comment 1 shylesh 2012-04-16 08:01:22 UTC
Remove multiple bricks at the same time, actually this scenario is causing data loss.

Comment 2 Amar Tumballi 2012-04-17 11:01:50 UTC
not able to reproducible even in Shylesh's setup (also in my setup). Asked him to run it multiple times, if not reproduced, we should take this out from beta blocker

Comment 3 Amar Tumballi 2012-04-17 19:07:13 UTC
sent a patch for fixing the issue of remove-brick (more than 2 bricks involving two different nodes) at http://review.gluster.com/3173. Need to test this before committing.

Shylesh, please fetch the patch and run the tests, confirm the behavior.

Comment 4 Anand Avati 2012-04-18 13:25:47 UTC
CHANGE: http://review.gluster.com/3173 (glusterd (remove-brick): fix data-loss issue) merged in master by Vijay Bellur (vijay)

Comment 5 shylesh 2012-04-20 10:01:13 UTC
Works fine  on 3.3.0qa36


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