[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 |
| Comment by Vladislav Vaintroub [ 2012-11-04 ] |
|
Fixed with |