mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-24167: Stabilize perfschema.sxlock_func
The extension of the test perfschema.sxlock_func in
commit 1669c8890c
turned out to be unstable.
Let us filter out purge_sys.latch (trx_purge_latch) from the output,
because it might happen that the purge tasks will not be executed
during the test execution.
This commit is contained in:
parent
1669c8890c
commit
3872e585f3
2 changed files with 6 additions and 3 deletions
|
@ -32,12 +32,13 @@ commit;
|
|||
drop table t1;
|
||||
SELECT DISTINCT event_name FROM performance_schema.events_waits_history_long
|
||||
WHERE event_name LIKE 'wait/synch/rwlock/innodb/%'
|
||||
AND event_name!='wait/synch/rwlock/innodb/btr_search_latch'
|
||||
AND event_name NOT IN
|
||||
('wait/synch/rwlock/innodb/btr_search_latch',
|
||||
'wait/synch/rwlock/innodb/trx_purge_latch')
|
||||
ORDER BY event_name;
|
||||
event_name
|
||||
wait/synch/rwlock/innodb/dict_operation_lock
|
||||
wait/synch/rwlock/innodb/fil_space_latch
|
||||
wait/synch/rwlock/innodb/trx_purge_latch
|
||||
select operation from performance_schema.events_waits_history_long
|
||||
where event_name like "wait/synch/sxlock/%"
|
||||
and operation = "shared_lock" limit 1;
|
||||
|
|
|
@ -45,7 +45,9 @@ drop table t1;
|
|||
|
||||
SELECT DISTINCT event_name FROM performance_schema.events_waits_history_long
|
||||
WHERE event_name LIKE 'wait/synch/rwlock/innodb/%'
|
||||
AND event_name!='wait/synch/rwlock/innodb/btr_search_latch'
|
||||
AND event_name NOT IN
|
||||
('wait/synch/rwlock/innodb/btr_search_latch',
|
||||
'wait/synch/rwlock/innodb/trx_purge_latch')
|
||||
ORDER BY event_name;
|
||||
|
||||
# Make sure some shared_lock operations have been executed
|
||||
|
|
Loading…
Add table
Reference in a new issue