[Bugs] [Bug 1286910] 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:21:21 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1286910



--- Comment #2 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12831 committed in master by Xavier Hernandez
(xhernandez at datalab.es) 
------
commit b8b050c37004c942b8c565cc66a05e8fa999c1ba
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

    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: 1286910
    Change-Id: If146435dfb89656158dbed3862a3e9a0cda60581
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/12831
    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=sLSJbWsgBQ&a=cc_unsubscribe


More information about the Bugs mailing list