[Bugs] [Bug 1429312] New: Prevent reverse heal from happening
bugzilla at redhat.com
bugzilla at redhat.com
Mon Mar 6 04:47:38 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1429312
Bug ID: 1429312
Summary: Prevent reverse heal from happening
Product: GlusterFS
Version: 3.10
Component: replicate
Assignee: bugs at gluster.org
Reporter: pkarampu at redhat.com
CC: bugs at gluster.org
Depends On: 1417466
Blocks: 1422942
+++ This bug was initially created as a clone of Bug #1417466 +++
Description of problem:
There is a chance for the source brick to go down just after
the new entry is created and before source brick is marked with
necessary pending markers. If after this any I/O happens then
new entry will become source and reverse heal will happen.
To prevent this mark the pending xattrs before creating the new
entry.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--- Additional comment from Worker Ant on 2017-01-29 11:25:49 EST ---
REVIEW: https://review.gluster.org/16474 (cluster/afr: Perform new entry mark
before creating new entry) posted (#1) for review on master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
--- Additional comment from Worker Ant on 2017-02-14 12:19:07 EST ---
REVIEW: https://review.gluster.org/16474 (cluster/afr: Perform new entry mark
before creating new entry) posted (#2) for review on master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
--- Additional comment from Worker Ant on 2017-02-16 10:24:34 EST ---
COMMIT: https://review.gluster.org/16474 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
------
commit 6588204568ab73bf8456ca3b2eccf2ae1182fb95
Author: Pranith Kumar K <pkarampu at redhat.com>
Date: Mon Jan 23 14:58:45 2017 +0530
cluster/afr: Perform new entry mark before creating new entry
There is a chance for the source brick to go down just after
the new entry is created and before source brick is marked with
necessary pending markers. If after this any I/O happens then
new entry will become source and reverse heal will happen.
To prevent this mark the pending xattrs before creating the new
entry.
BUG: 1417466
Change-Id: I233b87e694d32e5d734df5a83b4d2ca711c17503
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
Reviewed-on: https://review.gluster.org/16474
Smoke: Gluster Build System <jenkins at build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
Reviewed-by: Ravishankar N <ravishankar at redhat.com>
Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1417466
[Bug 1417466] Prevent reverse heal from happening
https://bugzilla.redhat.com/show_bug.cgi?id=1422942
[Bug 1422942] Prevent reverse heal from happening
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list