Commit d04cb70c authored by Daniel Black's avatar Daniel Black

Report any innodb_buf_pool_dump_pct restriction

parent 050a05bd
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment