![]() |
MySQL 8.0.43
Source Code Documentation
|
Redo log functions and types related to the log consumption. More...
#include "log0types.h"Go to the source code of this file.
Classes | |
| class | Log_consumer |
| class | Log_user_consumer |
| class | Log_checkpoint_consumer |
Functions | |
| void | log_consumer_register (log_t &log, Log_consumer *log_consumer) |
| Register the given redo log consumer. More... | |
| void | log_consumer_unregister (log_t &log, Log_consumer *log_consumer) |
| Unregister the given redo log consumer. More... | |
| Log_consumer * | log_consumer_get_oldest (const log_t &log, lsn_t &oldest_needed_lsn) |
| Find the registered redo log consumer which has the smallest value reported by get_consumed_lsn() - ie. More... | |
Redo log functions and types related to the log consumption.
| Log_consumer * log_consumer_get_oldest | ( | const log_t & | log, |
| lsn_t & | oldest_needed_lsn | ||
| ) |
Find the registered redo log consumer which has the smallest value reported by get_consumed_lsn() - ie.
the most lagging consumer. When multiple consumers have the same value, any of them might be returned.
| [in] | log | the redo log |
| [out] | oldest_needed_lsn | the oldest lsn needed by the most lagging consumer |
| void log_consumer_register | ( | log_t & | log, |
| Log_consumer * | log_consumer | ||
| ) |
Register the given redo log consumer.
| [in,out] | log | redo log |
| [in] | log_consumer | redo log consumer to register |
| void log_consumer_unregister | ( | log_t & | log, |
| Log_consumer * | log_consumer | ||
| ) |
Unregister the given redo log consumer.
| [in,out] | log | redo log |
| [in] | log_consumer | redo log consumer to unregister |