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

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 19 14:10:33 UTC 2014


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



--- Comment #7 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8763 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit 258e61adb5505124925c71d2a0d0375d086e32d4
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

    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: I5a4b5ab834df3633dea994f239bbdbc34cbe9259
    BUG: 1142052
    Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-on: http://review.gluster.org/8763
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur 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=5l9j3zLASF&a=cc_unsubscribe


More information about the Bugs mailing list