]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: reset heartbeat peers during shutdown
authorSage Weil <sage@inktank.com>
Fri, 31 May 2013 05:12:04 +0000 (22:12 -0700)
committerSage Weil <sage@inktank.com>
Fri, 31 May 2013 21:48:33 +0000 (14:48 -0700)
This fixes a leak of the Connection's and related structures.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSD.cc

index d7d56c3162fb250f94250d3b1025838ec467e4ee..d54ecc16b62d83b821f7922f07001e749cba32c1 100644 (file)
@@ -1393,6 +1393,8 @@ int OSD::shutdown()
 
   osd_lock.Lock();
 
+  reset_heartbeat_peers();
+
   tick_timer.shutdown();
 
   // note unmount epoch