mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Report any innodb_buf_pool_dump_pct restriction
This commit is contained in:
parent
050a05bdb7
commit
d04cb70cc3
2 changed files with 8 additions and 0 deletions
|
@ -322,6 +322,10 @@ buf_dump(
|
|||
t_pages = buf_pool->curr_size
|
||||
* srv_buf_pool_dump_pct / 100;
|
||||
if (n_pages > t_pages) {
|
||||
buf_dump_status(STATUS_INFO,
|
||||
"Instance %d, restricted to %u pages " \
|
||||
"due to innodb_buf_pool_dump_pct (%d)",
|
||||
i, t_pages, srv_buf_pool_dump_pct);
|
||||
n_pages = t_pages;
|
||||
}
|
||||
|
||||
|
|
|
@ -256,6 +256,10 @@ buf_dump(
|
|||
t_pages = buf_pool->curr_size
|
||||
* srv_buf_pool_dump_pct / 100;
|
||||
if (n_pages > t_pages) {
|
||||
buf_dump_status(STATUS_INFO,
|
||||
"Instance %d, restricted to %u pages " \
|
||||
"due to innodb_buf_pool_dump_pct (%d)",
|
||||
i, t_pages, srv_buf_pool_dump_pct);
|
||||
n_pages = t_pages;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue