Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1430305

Summary: Fix memory leak in rebalance
Product: [Community] GlusterFS Reporter: Susant Kumar Palai <spalai>
Component: distributeAssignee: Susant Kumar Palai <spalai>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, nbalacha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-4.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-15 11:16:50 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:

Description Susant Kumar Palai 2017-03-08 10:37:08 UTC
Description of problem:
Fix memory leak in rebalance.

Comment 1 Worker Ant 2017-03-08 10:38:07 UTC
REVIEW: https://review.gluster.org/16870 (cluster/dht: fix memory leaks in rebalance) posted (#1) for review on master by Susant Palai (spalai)

Comment 2 Worker Ant 2017-03-09 06:55:58 UTC
REVIEW: https://review.gluster.org/16870 (cluster/dht: fix memory leaks in rebalance) posted (#2) for review on master by Susant Palai (spalai)

Comment 3 Worker Ant 2017-03-13 10:49:10 UTC
REVIEW: https://review.gluster.org/16870 (cluster/dht: fix memory leaks in rebalance) posted (#3) for review on master by Susant Palai (spalai)

Comment 4 Worker Ant 2017-12-11 04:54:58 UTC
COMMIT: https://review.gluster.org/16870 committed in master by \"Susant Palai\" <spalai> with a commit message- cluster/dht: fix memory leaks in rebalance

From code reading it was found that in gf_defrag_process_dir, GF_FREE
was called directly on dir_dfmeta->equeue leading to leaks of memory for
list of entries read from all the local subvols in case of a failure.

This patch frees the entries read from all the local subvols.

Change-Id: If5e8f557372a8fc2af86628b401e8de1b54986a1
BUG: 1430305
Signed-off-by: Susant Palai <spalai>

Comment 5 Shyamsundar 2018-03-15 11:16:50 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-4.0.0, please open a new bug report.

glusterfs-4.0.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2018-March/000092.html
[2] https://www.gluster.org/pipermail/gluster-users/