[Bugs] [Bug 1433571] New: Undo pending xattrs only on the up bricks
bugzilla at redhat.com
bugzilla at redhat.com
Sat Mar 18 08:12:01 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1433571
Bug ID: 1433571
Summary: Undo pending xattrs only on the up bricks
Product: GlusterFS
Version: mainline
Component: replicate
Assignee: ksubrahm at redhat.com
Reporter: ksubrahm at redhat.com
CC: bugs at gluster.org
Description of problem:
While doing a conservative merge even if the brick is down the pending xattrs
on that brick will be removed. This will lead to data loss situations.
Version-Release number of selected component (if applicable):
mainline
How reproducible:
Always
Steps to Reproduce:
1. Create a 3 way replicated volume and set cluster.quorum-type to none
2. Bring bricks b1 & b2 down, and create file f1
3. Bring b3 down & b1 up, and create file f2
4. Bring b1 down & b2 up, and create file f3
5. Bring b3 up, shd will do the conservative merge and create f1 on b2 and f3
on b3 and undo pending xattr on b1 as well
6. Bring b1 up. Now b1 blames b2 & b3. b2 & b3 does not blame b1. As part of
the heal, b1 is considered as the source, and deletes f1 and f3 from both b2 &
b3 leading to data loss
Actual results:
Pending xattrs are being reset for bricks which are down as well
Expected results:
Undo pending should reset the values of only the bricks which are up
Additional info:
--
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=5nZcWESkd9&a=cc_unsubscribe
More information about the Bugs
mailing list