![]() |
MySQL 26.7.0
Source Code Documentation
|
Interface for a relay log controller which is capable of purging the relay logs. More...
#include <log_purge_controller.h>
Public Member Functions | |
| virtual bool | concurrent_purge (const std::string &log_filename)=0 |
| Register log_filename as a log ready to be purged. More... | |
| virtual | ~Log_purge_controller () |
Interface for a relay log controller which is capable of purging the relay logs.
|
inlinevirtual |
|
pure virtual |
Register log_filename as a log ready to be purged.
This function will purge registered logs if they are in order according to the index file content.
| [in] | log_filename | Registeres this log as a log ready to be purged. If registered logs for purging are in order, purges up to log_filename, included. |
| false | Success |
| true | failure |
Implemented in mysql::csa::Event_reader_controller.