From: Ramana Raja Date: Tue, 17 Jan 2023 03:04:08 +0000 (-0500) Subject: mgr/rbd_support: notify the thread waiting on pending snapshot X-Git-Tag: v19.0.0~1253^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=38a7e3715f0cee225aa49f3331d85ad37e2b7422;p=ceph-ci.git mgr/rbd_support: notify the thread waiting on pending snapshot ... requests to be completed. Signed-off-by: Ramana Raja --- diff --git a/src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py b/src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py index d3897cc6720..395cbdc9fa9 100644 --- a/src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py +++ b/src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py @@ -288,6 +288,7 @@ class CreateSnapshotRequests: with self.lock: self.pending.remove(image_spec) + self.condition.notify() if not self.queue: return image_spec = self.queue.pop(0)