Browse Source
MDEV-20638 Remove the deadcode from srv_master_thread() and srv_active_wake_master_thread_low()
MDEV-20638 Remove the deadcode from srv_master_thread() and srv_active_wake_master_thread_low()
- Due to commit fe95cb2e40
(MDEV-16125),
InnoDB master thread does not need to call srv_resume_thread()
and therefore there is no need to wake up the thread.
Due to the above patch, InnoDB should remove the following dead code.
srv_check_activity(): Makes the parameter as in,out and returns the
recent activity value
innobase_active_small(): Removed
srv_active_wake_master_thread(): Removed
srv_wake_master_thread(): Removed
srv_active_wake_master_thread_low(): Removed
Simplify srv_master_thread() and remove switch cases, added the assert.
Replace srv_wake_master_thread() with srv_inc_activity_count()
INNOBASE_WAKE_INTERVAL: Removed
pull/1642/head
11 changed files with 35 additions and 170 deletions
-
6extra/mariabackup/xtrabackup.cc
-
4storage/innobase/buf/buf0flu.cc
-
48storage/innobase/handler/ha_innodb.cc
-
5storage/innobase/handler/handler0alter.cc
-
25storage/innobase/include/srv0srv.h
-
2storage/innobase/row/row0mysql.cc
-
2storage/innobase/row/row0trunc.cc
-
100storage/innobase/srv/srv0srv.cc
-
4storage/innobase/srv/srv0start.cc
-
3storage/innobase/trx/trx0roll.cc
-
6storage/innobase/trx/trx0trx.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue