]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: mark_down during get_monmap_privately() shutdown 356/head
authorSage Weil <sage@inktank.com>
Thu, 13 Jun 2013 14:39:02 +0000 (07:39 -0700)
committerSage Weil <sage@inktank.com>
Thu, 13 Jun 2013 17:53:06 +0000 (10:53 -0700)
commit0193f88519869e41362e1aef1dfd0673f7579144
tree6e700c277a8de65e091dd056631bd6864ab0c9c6
parent962d118743638b334e5b9135198a612b4a6f1953
mon/MonClient: mark_down during get_monmap_privately() shutdown

We explicitly mark_down() and clear cur_con when shutting down; do the same
for get_monmap_privately() to ensure that the reset event doesn't make us
do something silly (like, in this case, call _reopen_session() again).

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