mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-12146 Deprecate and remove innodb_instrument_semaphores
MDEV-7618 introduced configuration parameter innodb_instrument_semaphores in MariaDB Server 10.1. The parameter seems to only affect the rw-lock X-latch acquisition. Extra fields are added to rw_lock_t to remember one X-latch holder or waiter. These fields are not being consulted or reported anywhere. This is basically only adding code bloat. If the intention is to debug hangs or deadlocks, we have better tools for that in the debug server, and for the non-debug server, core dumps can reveal a lot. For example, the mini-transaction memo records the currently held buffer block or index rw-locks, to be released at mtr_t::commit(). The configuration parameter innodb_instrument_semaphores will be deprecated in 10.2.5 and removed in 10.3.0. rw_lock_t: Remove the members lock_name, file_name, line, thread_id which did not affect any output.
This commit is contained in:
@ -8,7 +8,7 @@ COUNT(@@GLOBAL.innodb_use_trim)
|
||||
1 Expected
|
||||
SET @@GLOBAL.innodb_use_trim=1;
|
||||
Warnings:
|
||||
Warning 131 Using innodb_use_trim is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html
|
||||
Warning 131 Using innodb_use_trim is deprecated and the parameter will be removed in MariaDB 10.3.
|
||||
SELECT COUNT(@@GLOBAL.innodb_use_trim);
|
||||
COUNT(@@GLOBAL.innodb_use_trim)
|
||||
1
|
||||
@ -31,7 +31,7 @@ COUNT(VARIABLE_VALUE)
|
||||
1 Expected
|
||||
SET @@global.innodb_use_trim = @start_use_trim;
|
||||
Warnings:
|
||||
Warning 131 Using innodb_use_trim is deprecated and the parameter may be removed in future releases. See http://dev.mysql.com/doc/refman/5.7/en/innodb-file-format.html
|
||||
Warning 131 Using innodb_use_trim is deprecated and the parameter will be removed in MariaDB 10.3.
|
||||
SELECT @@global.innodb_use_trim;
|
||||
@@global.innodb_use_trim
|
||||
1
|
||||
|
Reference in New Issue
Block a user