[Bugs] [Bug 1293536] New: afr: warn if pending xattrs missing during init()
bugzilla at redhat.com
bugzilla at redhat.com
Tue Dec 22 04:52:53 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1293536
Bug ID: 1293536
Summary: afr: warn if pending xattrs missing during init()
Product: GlusterFS
Version: 3.7.6
Component: replicate
Keywords: Triaged
Assignee: bugs at gluster.org
Reporter: ravishankar at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Depends On: 1293293
+++ This bug was initially created as a clone of Bug #1293293 +++
Description of problem:
Since commit 6e635284a4411b816d4d860a28262c9e6dc4bd6a
glusterfs-3.7.7), the afr pending xattrs are stored in the volfile and used
by afr when it initializes. If a cluster is upgraded to 3.7.7 and the volfile
is not regenerated, AFR will crash.
How reproducible:
Always
Steps to Reproduce:
1. Create a 1x2 replica on glusterfs 3.7.6 on one node
2. Upgrade to 3.7.7, restart glusterd
3. gluster volume set all cluster.op-version 30707
4. start the volume and fuse mount it.
Actual results:
Fuse mount will crash
Expected results:
Should not crash
-
--- Additional comment from Vijay Bellur on 2015-12-21 23:31:00 EST ---
COMMIT: http://review.gluster.org/13038 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
------
commit 4bfbabfdd698e93a1dc1aad5590ed18f10936c55
Author: Ravishankar N <ravishankar at redhat.com>
Date: Mon Dec 21 10:09:53 2015 +0000
afr: warn if pending xattrs missing during init()
Since commit 6e635284a4411b816d4d860a28262c9e6dc4bd6a
(glusterfs-3.7.7), the afr pending xattrs are stored in the volfile and
used
by afr when it initializes. If a cluster is upgraded, prevent afr from
loading
until the op-version has been bumped up to 3.7.7 and the volfiles have been
regenerated using a volume set command.
Without this fix, AFR will crash when initialzing.
Change-Id: I14249dedb3f2f77cd754d78d8a9a70fdc5fc8c10
BUG: 1293293
Signed-off-by: Ravishankar N <ravishankar at redhat.com>
Reviewed-on: http://review.gluster.org/13038
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1293293
[Bug 1293293] afr: warn if pending xattrs missing during init()
--
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