[Bugs] [Bug 1199406] Spurious failures with tests/bugs/geo-replication/bug-877293.t

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 9 10:15:10 UTC 2015


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



--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9817 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit b5e50cd714d105ff7aa1544182f07fb60320710d
Author: Pranith Kumar K <pkarampu at redhat.com>
Date:   Fri Mar 6 12:37:15 2015 +0530

    libxlator: Make sure marker_xattr is valid

    Problem:
    marker_xattr is allocated only when the op_ret is 0. If the final response
is
    a failure, then the marker time is dict_set with key as NULL. this will be
    changed to ref:<address-of-value> by dict_set, so the value won't appear on
the
    marker-key when the getxattr_cbk is in dht. So dht unwinds with failure
EINVAL.

    Fix:
    Always populate marker_xattr. Fixed dict mem-leak as well.

    Change-Id: I1752f277a8852c47b0a2ccce9fd72ee88456ac02
    BUG: 1199406
    Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
    Reviewed-on: http://review.gluster.org/9817
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    Tested-by: Raghavendra G <rgowdapp at redhat.com>

-- 
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=aL8rbuRqK8&a=cc_unsubscribe


More information about the Bugs mailing list