[MDEV-3532] LP:489088 - On shutdown MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown Created: 2009-11-30 Updated: 2012-10-04 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Paul McCullagh (Inactive) | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
As reported by Kristian: MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown The bug has been repeated with MariaDB: lp:~maria-captains/maria/5.1-merge Create a file "mysql-test/suite/pbxt/t/kn.test", with the following contents: ------------------------------ cut here ------------------------------ Then enter: cd mysql-test Kristian says: I get this in the mysqld.1.err: CURRENT_TEST: pbxt.kn 091124 15:11:00 [Note] Event Scheduler: Purging the queue. 0 events This is from this tree on Launchpad containing the merge with MySQL 5.1.41: lp:~maria-captains/maria/5.1-merge The problem is that the ref_count of PBXT is 2 at shutdown time. Maybe this is another problem with the way that PBXT has to do init in a |
| Comments |
| Comment by Vladimir Kolesnikov (Inactive) [ 2009-11-27 ] |
|
Re: On shutdown MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown 2456 pthread_mutex_lock(&LOCK_plugin); the problem is that pbxt starts its own worker threads that init corresponding THD instances. In some sense pbxt locks itself. to solve this problem we'd need to make another 'background' plugin that would shutdown all pbxt worker threads or have 2-phase shutdown on server side. |
| Comment by Paul McCullagh (Inactive) [ 2009-11-27 ] |
|
Re: On shutdown MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown After all, there is no danger of the plugin (PBXT) being removed, before the threads are shut down (and the THDs freed). |
| Comment by Vladimir Kolesnikov (Inactive) [ 2009-11-27 ] |
|
Re: On shutdown MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown |
| Comment by Hakan Küçükyılmaz (Inactive) [ 2010-05-26 ] |
|
Re: On shutdown MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown what is the status of this bug? It seems like you have fixed it already. Best, Hakan |
| Comment by Paul McCullagh (Inactive) [ 2010-05-27 ] |
|
Re: On shutdown MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown RN291: Fixed bug #489088: On shutdown MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown. |
| Comment by Paul McCullagh (Inactive) [ 2010-05-27 ] |
|
Re: On shutdown MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown RN291: Fixed bug #489088: On shutdown MySQL reports: [Warning] Plugin 'PBXT' will be forced to shutdown. |
| Comment by Rasmus Johansson (Inactive) [ 2010-06-28 ] |
|
Launchpad bug id: 489088 |