]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: Don't put session during feature change 32365/head
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 3 Dec 2019 06:54:03 +0000 (16:54 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Fri, 20 Dec 2019 21:27:22 +0000 (07:27 +1000)
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 <bhubbard@redhat.com>
src/mon/Monitor.cc

index 27ea54b0b327f3711ac81665bca4764719bb88e9..602383dceeca5e57ce7f1cde0ed11eaddb4e4d2f 100644 (file)
@@ -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;
     }
   }