Bug 1144792
Summary: | Very high memory usage during rebalance | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Krutika Dhananjay <kdhananj> |
Component: | distribute | Assignee: | Krutika Dhananjay <kdhananj> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.4.5 | CC: | bugs, kdhananj, kkeithle, rgowdapp, ryan.clough |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1142052 | Environment: | |
Last Closed: | 2015-04-13 07:10:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 985957, 1125245 |
Description
Krutika Dhananjay
2014-09-21 02:05:54 UTC
REVIEW: http://review.gluster.org/8789 (cluster/dht: Fix dict_t leaks in rebalance process' execution path) posted (#1) for review on release-3.4 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/8789 committed in release-3.4 by Kaleb KEITHLEY (kkeithle) ------ commit e2a76e76e3d9174fa77f40f3abd0212705283f00 Author: Krutika Dhananjay <kdhananj> 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> Reviewed-on: http://review.gluster.org/8789 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Kaleb KEITHLEY <kkeithle> gluster workflow is POST: patch posted to gerrit MODIFIED: patch merged to source tree but I've already merged it, so don't mind me. |