From: Sage Weil Date: Fri, 31 May 2013 05:12:04 +0000 (-0700) Subject: osd: reset heartbeat peers during shutdown X-Git-Tag: v0.64~26^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9865bb460bfa0b992b4a5c3466cdfde7b56aed86;p=ceph.git osd: reset heartbeat peers during shutdown This fixes a leak of the Connection's and related structures. Signed-off-by: Sage Weil --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index d7d56c3162fb..d54ecc16b62d 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -1393,6 +1393,8 @@ int OSD::shutdown() osd_lock.Lock(); + reset_heartbeat_peers(); + tick_timer.shutdown(); // note unmount epoch