[Bugs] [Bug 1144792] Very high memory usage during rebalance
bugzilla at redhat.com
bugzilla at redhat.com
Tue Sep 23 11:03:17 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1144792
--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/8789 committed in release-3.4 by Kaleb
KEITHLEY (kkeithle at redhat.com)
------
commit e2a76e76e3d9174fa77f40f3abd0212705283f00
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: I59556ee6e135e7e65d4ddd31ba0f39e7eb50b02d
BUG: 1144792
Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
Reviewed-on: http://review.gluster.org/8789
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle 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=bbt21NvJiq&a=cc_unsubscribe
More information about the Bugs
mailing list