mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 16:09:43 +01:00
In commit 13076351f1 (MDEV-37152)
some code was refactored that would break the server-side
connection pool logic. Calls to thd_wait_begin() and thd_wait_end()
were not balanced.
buf_read_page_low(): Only invoke thd_wait_begin() and thd_wait_end()
for synchronous reads, and do that also when the read operation fails.
Reviewed by: Vladislav Lesin
4 lines
100 B
Text
4 lines
100 B
Text
[thread]
|
|
--thread-handling=one-thread-per-connection
|
|
[pool]
|
|
--loose-thread-handling=pool-of-threads
|