]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks: make rbd_mirror_thrash inherit from ThrasherGreenlet 67795/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 27 Feb 2026 14:18:27 +0000 (15:18 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Sat, 14 Mar 2026 20:04:04 +0000 (21:04 +0100)
commit5bbe782064abb2f5cd1d75e3183f6bf7b8d881ad
treee8a6c183931e28033b994852e6918e4d2b2b2732
parent70f8415b300f041766fa27faf7d5472699e32388
qa/tasks: make rbd_mirror_thrash inherit from ThrasherGreenlet

Commit 21b4b89e5280 ("qa/tasks: watchdog terminate thrasher") made it
required for a thrasher to have stop_and_join() method, but the
preceding commit a035b5a22fb8 ("thrashers: standardize stop and join
method names") missed to add it to rbd_mirror_thrash (whether as an
ad-hoc implementation or by way of inheriting from ThrasherGreenlet).
Later on, commit 783f0e3a9903 ("qa: Adding a new class for the
daemonwatchdog to monitor") worsened the issue by expanding the use
of stop_and_join() to all watchdog barks rather than just the case of
a thrasher throwing an exception which is something that practically
never happens.

Fixes: https://tracker.ceph.com/issues/75200
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 3ebe3a0a43251b0f126497d4100bd1af9ca8afc5)
qa/tasks/rbd_mirror_thrash.py