mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-29843 Do not use asynchronous log_write_upto() for system THDs
Non-blocking log_write_upto (MDEV-24341) was only designed for the client connections. Fix, so it is not be triggered for any system THD. Previously, an incomplete solution only excluded Innodb purge THDs, but not the slave for example. The hang in MDEV still remains somewhat a mystery though, it is not immediately clear how exactly condition variable can become corrupted. But it is clear that it can be avoided.
This commit is contained in:
@ -2586,9 +2586,6 @@ struct thd_async_state
|
||||
}
|
||||
};
|
||||
|
||||
extern "C" void thd_increment_pending_ops(MYSQL_THD);
|
||||
extern "C" void thd_decrement_pending_ops(MYSQL_THD);
|
||||
|
||||
|
||||
/**
|
||||
@class THD
|
||||
|
Reference in New Issue
Block a user