]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: break con <-> session ref cycle in mon even if shutting down
authorSage Weil <sage@inktank.com>
Thu, 18 Jul 2013 21:44:17 +0000 (14:44 -0700)
committerGreg Farnum <greg@inktank.com>
Fri, 19 Jul 2013 20:21:48 +0000 (13:21 -0700)
commit30de04066d874921b7d721bfcb0f363df8a735f1
tree249177289c5f0181e3cd2bebe20a3ac4c00486c5
parent564075c9ad37edc6f63bbb4c372775d422a9e8c7
mon: break con <-> session ref cycle in mon even if shutting down

If we get a reset during shutdown, we should still break the cycle to avoid
tripping the valgrind leak detection.  Note that we are touching no
internal Monitor state here and the locking has not changed.

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