MXS-1262: Move monitor journals into the core
The journaling functionality is now in the core. Only the MySQL Monitor is using it.
This commit is contained in:
@ -84,36 +84,6 @@ typedef struct
|
||||
MXS_MONITOR* monitor;
|
||||
} MYSQL_MONITOR;
|
||||
|
||||
/**
|
||||
* @brief Store a journal of server states
|
||||
*
|
||||
* @param monitor Monitor to journal
|
||||
*/
|
||||
void store_server_journal(MXS_MONITOR *monitor);
|
||||
|
||||
/**
|
||||
* @brief Load a journal of server states
|
||||
*
|
||||
* @param monitor Monitor where journal is loaded
|
||||
*/
|
||||
void load_server_journal(MXS_MONITOR *monitor);
|
||||
|
||||
/**
|
||||
* @brief Remove stored journal file
|
||||
*
|
||||
* @param monitor Monitor whose journal is removed
|
||||
*/
|
||||
void remove_server_journal(MXS_MONITOR *monitor);
|
||||
|
||||
/**
|
||||
* @brief Check whether the journal is too old
|
||||
*
|
||||
* @param monitor Monitor to check
|
||||
* @return True if journal is stale or an error occurred while reading the file.
|
||||
* False if the file is still valid.
|
||||
*/
|
||||
bool journal_is_stale(MXS_MONITOR *monitor, time_t max_age);
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user