Commit a057a6e4 authored by Marko Mäkelä's avatar Marko Mäkelä Committed by Daniel Black

MDEV-24670 memory pressure - mariadb-backup postfix

mariadb-backup wasn't meant to have memory pressure
sensors so restrict the operation to SRV_OPERATIONAL_NORMAL
mode.

Reviewed by Daniel Black.
parent 25c62788
...@@ -1309,6 +1309,7 @@ bool buf_pool_t::create() ...@@ -1309,6 +1309,7 @@ bool buf_pool_t::create()
btr_search_sys_create(); btr_search_sys_create();
#ifdef __linux__ #ifdef __linux__
if (srv_operation == SRV_OPERATION_NORMAL)
buf_mem_pressure_detect_init(); buf_mem_pressure_detect_init();
#endif #endif
ut_ad(is_initialised()); ut_ad(is_initialised());
......
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