From 8f23f2c6de43c2dfe7107acf2d8fef45c3d2a886 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 --- src/mon/Monitor.cc | 1 - 1 file changed, 1 deletion(-) 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; } } -- 2.47.3