[Bugs] [Bug 1144640] Very high memory usage during rebalance
bugzilla at redhat.com
bugzilla at redhat.com
Sat Sep 20 08:56:10 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1144640
--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8785 committed in release-3.6 by Vijay Bellur
(vbellur at redhat.com)
------
commit 999e9848d099f443a8bedbd1cd4678fe57dff11f
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: I48926389db965e006da151bf0ccb6bcaf3585199
BUG: 1144640
Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
Reviewed-on: http://review.gluster.org/8785
Tested-by: Gluster Build System <jenkins at build.gluster.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=j4e8Cca6Kh&a=cc_unsubscribe
More information about the Bugs
mailing list