Skip to content

Commit 21b4b89

Browse files
committed
qa/tasks: watchdog terminate thrasher
If a thrasher exception occurs, the do_dump_ops thread will continue looping until the Teuthology timeout is reached. The watchdog should terminate the thrasher to free up resources. Fixes: https://tracker.ceph.com/issues/66698 Signed-off-by: Nitzan Mordechai <[email protected]>
1 parent 094fc18 commit 21b4b89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qa/tasks/daemonwatchdog.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def watch(self):
117117
for thrasher in self.thrashers:
118118
if thrasher.exception is not None:
119119
self.log("{name} failed".format(name=thrasher.name))
120+
thrasher.stop_and_join()
120121
bark = True
121122

122123
if bark:

0 commit comments

Comments
 (0)