[MDEV-73] LP:912611 - ThreadPool does not print error messages even in case of critical problems Created: 2012-01-06  Updated: 2012-01-31  Resolved: 2012-01-17

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.20
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

If something went really wrong with thread pool, e.g. it used up all threads (due to bad configuration) and further flow got locked up, we need to print meaningful error messages in the server error log. The messages should

  • be real errors – that is, not warnings, as warnings are often suppressed;
  • be printed in a reasonable manner, without flooding the error log;
  • identify problem as clearly as possible and maybe suggest further actions.

Additional warnings might also make sense, for example if thread pool approaches max_threads. Same requirements about not flooding the error log apply to them, too.



 Comments   
Comment by Elena Stepanova [ 2012-01-06 ]

The bug is also filed in LP as https://bugs.launchpad.net/maria/+bug/912611

Comment by Vladislav Vaintroub [ 2012-01-17 ]

fixed in 5.5-threadpool. No warnings are printed yet, only real errors

Generated at Thu Feb 08 06:26:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.