[Bugs] [Bug 1286985] Tier: ec xattrs are set on a newly created file present in the non-ec hot tier
bugzilla at redhat.com
bugzilla at redhat.com
Tue Dec 1 17:22:03 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1286985
--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12835 committed in release-3.7 by Xavier
Hernandez (xhernandez at datalab.es)
------
commit 1a88359040ef1c68bcbe86a01d13a996a8adbb27
Author: Pranith Kumar K <pkarampu at redhat.com>
Date: Tue Dec 1 10:59:41 2015 +0530
cluster/ec: Create copy of dict for setting internal xattrs
Backport of http://review.gluster.com/12831
Problem:
Ec takes a ref of the request xdata and sets trusted.ec.version/algo etc
xattrs
as part of it. But this request xdata could be using same dictionary to do
the
operation on multiple subvolumes, due to which other subvolumes will have
internal xattrs of ec in it and will be created on subvols where they are
not
supposed to appear.
Fix:
Take a copy of the request xdata/dict to prevent this from happening.
Most of the debugging work and test script is contributed by Nitya.
BUG: 1286985
Change-Id: Ie9b7d9f063434789f6c5902c3a68ececdc3c7efa
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
Reviewed-on: http://review.gluster.org/12835
Tested-by: NetBSD Build System <jenkins at build.gluster.org>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
--
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=8NFbew0x13&a=cc_unsubscribe
More information about the Bugs
mailing list