]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/amqp: remove the explicit "disconnect()" interface 41831/head
authorYuval Lifshitz <ylifshit@redhat.com>
Sun, 13 Jun 2021 14:48:11 +0000 (17:48 +0300)
committerYuval Lifshitz <ylifshit@redhat.com>
Sun, 13 Jun 2021 15:10:18 +0000 (18:10 +0300)
commita3849aaa9f5a3e95b1e6ce0a80b1df33b3a77cf9
treed98f90fb2f8fedd72ddf9bd4786afd6670d6df49
parent5b31052be66ff8debee1e233406e6490f8206fde
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>
src/rgw/rgw_amqp.cc
src/rgw/rgw_amqp.h
src/test/rgw/test_rgw_amqp.cc