[MDEV-3828] mysqld doesn't exit on Mac OS X Created: 2012-11-01  Updated: 2012-11-04  Resolved: 2012-11-04

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

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

on OSX mysqld does not exit cleanly.

connection threads wait in poll() and the main shutdown thread waits for them to exit.

See rpl.rpl_binlog_index — where mysqltest fails to shut the server down cleanly and has to kill -9 it. This causes MyISAM warnings on restart about a table not being closed properly. Also, man can see that in a debugger, that connection threads wait, and finally the server receives SIGKILL.

With --thread-handling=pool-of-threads everything works ok.



 Comments   
Comment by Vladislav Vaintroub [ 2012-11-03 ]

When the fix for MDEV-531 (post_kill_notification is now also used for one-thread-per-connection) will merged into 10.0-serg, the bug should disappear - I verified on OSX that MDEV-531 also fixes this one.

Comment by Vladislav Vaintroub [ 2012-11-04 ]

Fixed with MDEV-531

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