Bug 1538900

Summary: Found a missing unref in rpc_clnt_reconnect
Product: [Community] GlusterFS Reporter: Zhang Huan <zhhuan>
Component: protocolAssignee: Vishal Pandey <vpandey>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, rgowdapp, rkavunga
Target Milestone: ---Keywords: EasyFix
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-02 08:24:01 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 Zhang Huan 2018-01-26 04:48:46 UTC
Description of problem:

Found a missing unref in rpc_clnt_reconnect(). The missing unref leads to counter leaks. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2018-01-26 04:50:31 UTC
REVIEW: https://review.gluster.org/19335 (rpc: fix missing unref on reconnect) posted (#1) for review on master by Zhang Huan

Comment 2 Worker Ant 2018-03-28 08:56:21 UTC
REVIEW: https://review.gluster.org/19335 (rpc: fix missing unref on reconnect) posted (#2) for review on master by Amar Tumballi

Comment 3 Amar Tumballi 2019-07-15 05:27:02 UTC
Vishal, can you check if this part of the code is addressed in current codebase? If not, we may have to fix it, if yes, lets close the issue.

Comment 4 Vishal Pandey 2019-09-25 09:27:21 UTC
The change seems to be missing in the codebase. I have rebase the patch and uploaded it. https://review.gluster.org/#/c/glusterfs/+/19335/

Comment 5 Worker Ant 2019-09-25 09:30:19 UTC
REVIEW: https://review.gluster.org/19335 (rpc: fix missing unref on reconnect) posted (#3) for review on master by Vishal Pandey

Comment 6 Worker Ant 2019-10-02 08:24:01 UTC
REVIEW: https://review.gluster.org/19335 (rpc: fix missing unref on reconnect) merged (#4) on master by Amar Tumballi