[Bugs] [Bug 1236212] Migration does not work when EC is used as a tiered volume.
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jul 13 16:39:00 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1236212
--- Comment #11 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11433 committed in master by Dan Lambright
(dlambrig at redhat.com)
------
commit 67a53554ed75081612b56a5658fd569dc5aaa785
Author: Dan Lambright <dlambrig at redhat.com>
Date: Fri Jun 26 16:33:49 2015 -0400
cluster/tier: fixes for migration over ec as cold tier
An opendir is done in rebalance. The graph constructed when
EC is used in tiering may have no local volumes (if
all the hot volumes are on one node and all the others on
another node). Previously the opendir only sent fops down
the local subvolumes for migration. They must be sent down
both the hot and cold subvolumes for tiering.
When setxattr2() received a NULL subvolume; this dereferenced
an uninitialized variable.
When a lookup is done during creation of the destination
file, the xattr dict is "polluted" with virtual xattrs.
These cause subsequent xattrs in the new file to not be
written by posix. They are required by EC.
The inode gfid for "entry_loc" in gf_defrag_migrate_single_file()
was not initialized. This made underlying translators
think the gfid was 0, and failed migration.
Change-Id: I6ccda8ca8e43485b9b354341bbfcb302496f632c
BUG: 1236212
Signed-off-by: Dan Lambright <dlambrig at redhat.com>
Reviewed-on: http://review.gluster.org/11433
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
More information about the Bugs
mailing list