]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/notifications: make queue idle when all notifications are in "sleep" state
authorYuval Lifshitz <ylifshit@ibm.com>
Wed, 18 Jun 2025 14:56:01 +0000 (14:56 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Wed, 25 Jun 2025 15:09:20 +0000 (15:09 +0000)
commitbbab0e6181a56a1083973a6697bdfe97dbe8cb3b
tree0d46fb8bf29455cb69795e3c82b0edcd80712da8
parentdd6d4f0bbc9f0dcbb09ee0230e2f56d7c0e05439
rgw/notifications: make queue idle when all notifications are in "sleep" state

this will prevent re-reading the queue when there is no work to do
also, put into "idle" state in case of failure with -EBUSY error code

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
src/rgw/driver/rados/rgw_notify.cc