mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Merge 10.1 into 10.2
This commit is contained in:
commit
9258097fa3
52 changed files with 1070 additions and 147 deletions
|
|
@ -2512,9 +2512,17 @@ srv_purge_should_exit(ulint n_purged)
|
|||
}
|
||||
/* Slow shutdown was requested. */
|
||||
if (n_purged) {
|
||||
service_manager_extend_timeout(
|
||||
INNODB_EXTEND_TIMEOUT_INTERVAL,
|
||||
"InnoDB " ULINTPF " pages purged", n_purged);
|
||||
#if defined HAVE_SYSTEMD && !defined EMBEDDED_LIBRARY
|
||||
static ib_time_t progress_time;
|
||||
ib_time_t time = ut_time();
|
||||
if (time - progress_time >= 15) {
|
||||
progress_time = time;
|
||||
service_manager_extend_timeout(
|
||||
INNODB_EXTEND_TIMEOUT_INTERVAL,
|
||||
"InnoDB: to purge " ULINTPF " transactions",
|
||||
trx_sys->rseg_history_len);
|
||||
}
|
||||
#endif
|
||||
/* The previous round still did some work. */
|
||||
return(false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue