]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: unlock mon before msgr shutdown
authorSage Weil <sage.weil@dreamhost.com>
Thu, 23 Feb 2012 04:49:04 +0000 (20:49 -0800)
committerSage Weil <sage@newdream.net>
Thu, 23 Feb 2012 19:15:05 +0000 (11:15 -0800)
commit62a113aaa762a4c5def2880676e8ce10ce76baa2
tree06bcd54ae764e4279eec92c21b22d4ed58084d50
parentd1fe2f8fd74d727d407478ff44e9e831d4fac6bf
mon: unlock mon before msgr shutdown

The ceph_mon.cc main() will delete mon when the msgr dispatch thread
completes.  Make sure we unlock before we shut down the messenger, and
avoid touching this after messenger->shutdown().

Fixes: #2090
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/mon/Monitor.cc