Skip to content

Commit 5171ab8

Browse files
committed
MDEV-24171 index_online_log is instrumented as rw-lock, not mutex
The row_log_t::mutex is a mutex, yet it was instrumented as rw-lock in PERFORMANCE_SCHEMA.
1 parent d01a034 commit 5171ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/handler/ha_innodb.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ static PSI_mutex_info all_innodb_mutexes[] = {
614614
PSI_KEY(ibuf_bitmap_mutex),
615615
PSI_KEY(ibuf_mutex),
616616
PSI_KEY(ibuf_pessimistic_insert_mutex),
617+
PSI_KEY(index_online_log),
617618
PSI_KEY(log_sys_mutex),
618619
PSI_KEY(log_sys_write_mutex),
619620
PSI_KEY(mutex_list_mutex),
@@ -671,7 +672,6 @@ static PSI_rwlock_info all_innodb_rwlocks[] = {
671672
PSI_RWLOCK_KEY(trx_i_s_cache_lock),
672673
PSI_RWLOCK_KEY(trx_purge_latch),
673674
PSI_RWLOCK_KEY(index_tree_rw_lock),
674-
PSI_RWLOCK_KEY(index_online_log),
675675
PSI_RWLOCK_KEY(hash_table_locks)
676676
};
677677
# endif /* UNIV_PFS_RWLOCK */

0 commit comments

Comments
 (0)