mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#55576 Two perfschema tests failed on mysql-next-mr-innodb PB2 tests
Before this fix, some tests failed due to lack of instrumentation slots in the performance schema, because the default sizing was too low. Now that more code has been instrumented, the default sizing has to be adjusted to match the current instrumentation consumption. This change: - increases the number of rwlock classes from 20 to 30, - increases the number of rwlock and mutex instances to 1 million. Both are to account for the volume of data instrumented when the innodb storage engine is used (because of the innodb buffer pool). Adjusted the test output accordingly.
This commit is contained in:
@ -25,13 +25,13 @@
|
||||
#define PFS_MAX_MUTEX_CLASS 200
|
||||
#endif
|
||||
#ifndef PFS_MAX_MUTEX
|
||||
#define PFS_MAX_MUTEX 1000
|
||||
#define PFS_MAX_MUTEX 1000000
|
||||
#endif
|
||||
#ifndef PFS_MAX_RWLOCK_CLASS
|
||||
#define PFS_MAX_RWLOCK_CLASS 20
|
||||
#define PFS_MAX_RWLOCK_CLASS 30
|
||||
#endif
|
||||
#ifndef PFS_MAX_RWLOCK
|
||||
#define PFS_MAX_RWLOCK 1000
|
||||
#define PFS_MAX_RWLOCK 1000000
|
||||
#endif
|
||||
#ifndef PFS_MAX_COND_CLASS
|
||||
#define PFS_MAX_COND_CLASS 80
|
||||
|
Reference in New Issue
Block a user