MySQL 9.1.0
Source Code Documentation
|
#include "log0consumer.h"
#include "arch0arch.h"
#include "arch0log.h"
#include "log0chkp.h"
#include "log0files_governor.h"
#include "log0log.h"
#include "srv0shutdown.h"
#include "srv0start.h"
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... | |
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 |