]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/amqp: remove the explicit "disconnect()" interface 45427/head
authorYuval Lifshitz <ylifshit@redhat.com>
Sun, 13 Jun 2021 14:48:11 +0000 (17:48 +0300)
committerCory Snyder <csnyder@iland.com>
Wed, 16 Mar 2022 15:52:11 +0000 (11:52 -0400)
commit3ce57e1f34ee1a455b1b019a29ea7bda8a20b3df
tree144137f2ba025fb41b316fde1ccc851954cae54c
parent372ebcf4964013b9b1a8953f72660c1321e764bc
rgw/amqp: remove the explicit "disconnect()" interface

this is to resolve a possible race condistion.
note that the removed interface is not used in RGW code.
and that connection cleanup should be done based on idleness and
not on explicit disconnect. see: https://tracker.ceph.com/issues/49033

Fixes: https://tracker.ceph.com/issues/51114
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit a3849aaa9f5a3e95b1e6ce0a80b1df33b3a77cf9)
src/rgw/rgw_amqp.cc
src/rgw/rgw_amqp.h
src/test/rgw/test_rgw_amqp.cc