1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-26 01:44:06 +03:00
Files
mariadb/mysql-test/include
Ashish Agarwal 147be51f20 BUG#14485479: INSTALL AUDIT PLUGIN HANGS IF WE TRY TO
DISABLE AND ENABLED DURING DDL OPERATION

PROBLEM: Same thread trying to acquire the same mutex
         second time leads to hang/server crash.
         While [un]installing audit_log plugin
         a thread acquires the LOCK_plugin mutex
         and after successful initialization tries
         to write in mysql.plugin table. It holds
         this mutex for a long time. If some how
         plugin table is corrupted then a write to 
         plugin table will throw an error, thread try
         to log this error in the audit_log plugin,
         doing so it tries to acquire the mutex
         again and results is server hang/crash.

SOLUTION: Releasing the LOCK_plugin mutex before
          writing in mysql.plugin table. We dont
          need to hold this mutex as thread already
          acquired a TL_WRITE lock on mysql.plugin
          table.
2012-10-31 12:40:48 +05:30
..
2011-10-03 16:05:52 +05:30
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2010-01-15 15:42:15 +04:00
2011-06-30 17:46:53 +02:00
2010-01-06 22:42:07 -07:00
2011-03-18 10:31:39 +01:00
2010-10-20 16:56:09 +02:00
2010-10-20 16:56:09 +02:00
2010-04-13 19:04:45 +04:00
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2009-12-03 18:47:20 +03:00
2008-12-02 11:05:56 +01:00
2010-08-05 14:41:07 +02:00
2012-02-16 10:48:16 +01:00
2009-03-15 18:39:48 -04:00
2012-02-29 21:18:50 +01:00
2011-12-01 00:54:54 +00:00
2010-12-20 15:15:01 +01:00
2010-12-20 15:15:01 +01:00
2010-12-20 15:15:01 +01:00
2009-08-12 13:31:56 +08:00
2009-09-29 14:16:23 +03:00
2010-05-26 22:34:25 +08:00
2010-05-26 22:34:25 +08:00
2011-03-16 00:46:30 +03:00
2008-12-02 11:05:56 +01:00