[Bugs] [Bug 1142052] Very high memory usage during rebalance

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 23 08:18:39 UTC 2014


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



--- Comment #9 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8784 committed in release-3.5 by Niels de Vos
(ndevos at redhat.com) 
------
commit 36fb486b60bf786a8ac55512175c9f81a5f031e1
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date:   Thu Sep 18 14:36:38 2014 +0530

    cluster/dht: Fix dict_t leaks in rebalance process' execution path

            Backport of: http://review.gluster.org/8763

    Two dict_t objects are leaked for every file migrated in success codepath.
    It is the caller's responsibility to unref dict that it gets from calls to
    syncop_getxattr(); and rebalance performs two syncop_getxattr()s per file
    without freeing them.

    Also, syncop_getxattr() on GF_XATTR_LINKINFO_KEY doesn't seem to be using
    the response dict. Hence, NULL is now passed as opposed to @dict to
    syncop_getxattr().

    Change-Id: I89d72bf5b8d75571ab33ff44953adf8e542826ef
    BUG: 1142052
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/8784
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    Reviewed-by: Niels de Vos <ndevos 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=IZSBWDVgyP&a=cc_unsubscribe


More information about the Bugs mailing list