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: v13.2.9~58^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=485ab962f8979002a149fd7ea3606f4e3da9e6d8;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 (cherry picked from commit 8f23f2c6de43c2dfe7107acf2d8fef45c3d2a886) --- diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 19d1735cdf0a..e78b3ab45927 100644 --- a/src/mon/Monitor.cc +++ b/src/mon/Monitor.cc @@ -4028,7 +4028,6 @@ void Monitor::_ms_dispatch(Message *m) // exist only while the op is being handled. remove_session(s); } - s->put(); s = nullptr; } }