From: Brad Hubbard Date: Tue, 3 Dec 2019 06:54:03 +0000 (+1000) Subject: mon: Don't put session during feature change X-Git-Tag: v15.1.0~20^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8f23f2c6de43c2dfe7107acf2d8fef45c3d2a886;p=ceph.git mon: Don't put session during feature change The session gets put as result of the set_session call in the next block. Fixes: https://tracker.ceph.com/issues/38345 Signed-off-by: Brad Hubbard --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 27ea54b0b327..602383dceeca 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -4304,7 +4304,6 @@ void Monitor::_ms_dispatch(Message *m) // exist only while the op is being handled. remove_session(s); } - s->put(); s = nullptr; } }