Skip to content

Commit

Permalink
perfschema.threads_mysql sporadic failures
Browse files Browse the repository at this point in the history
wait a bit more thoroughly for event scheduler to be fully started
  • Loading branch information
vuvova committed Nov 25, 2023
1 parent d8e448b commit 7317aad
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# threads are removed from:
# threads are added to:
# - information_schema.processlist
# - performance_schema.threads
# at different times, so we may have to wait a little more
# for the event_scheduler to shutdown
# for the event_scheduler to start
#
let $wait_condition=
SELECT COUNT(*) = 1 FROM performance_schema.threads
WHERE name like 'thread/sql/event%';
WHERE name LIKE 'thread/sql/event%' AND processlist_command IS NOT NULL;
--source include/wait_condition.inc

0 comments on commit 7317aad

Please sign in to comment.