summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorZhang Huan <zhanghuan@open-fs.com>2018-01-24 16:06:08 +0800
committerAmar Tumballi <amarts@gmail.com>2019-10-02 08:23:17 +0000
commit36075d4de78cb562b0e7a8bea85c868251f0e961 (patch)
tree723d22fdb247153fd1f365702771fa579cb451e1 /xlators
parent69aeede2480ff429d1c3c466a79d85fca756b198 (diff)
rpc: fix missing unref on reconnect
On protocol client connecting to brick, client will firstly contact glusterd to get port, then reconnect to glusterfsd. Reconnect cancels the reconnect timer and start a new one. However, cancelling the timer does not unref rpc ref-ed for it. That leads to refcount leak. Fix this issue by unref-ing rpc if reconnect timer is canceled. Change-Id: Ice89dcd93cb283a0c7250c369cc8961d52fb2022 Fixes: bz#1538900 BUG: 1538900 Signed-off-by: Zhang Huan <zhanghuan@open-fs.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions