From 485ab962f8979002a149fd7ea3606f4e3da9e6d8 Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Tue, 3 Dec 2019 16:54:03 +1000 Subject: [PATCH] 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) --- src/mon/Monitor.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mon/Monitor.cc b/src/mon/Monitor.cc index 19d1735cdf0..e78b3ab4592 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; } } -- 2.47.3