1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Initial implementation of the status interface reporter object.

This commit is contained in:
Alexey Yurchenko
2021-08-06 15:34:06 +03:00
parent 0151e98802
commit 4f1c201c9d
13 changed files with 1442 additions and 12 deletions

View File

@ -41,7 +41,9 @@ namespace db
public:
server(simulator& simulator,
const std::string& name,
const std::string& address);
const std::string& address,
const std::string& status_file);
~server();
void applier_thread();
void start_applier();
void stop_applier();
@ -58,6 +60,8 @@ namespace db
wsrep::client_state* local_client_state();
void release_client_state(wsrep::client_state*);
wsrep::high_priority_service* streaming_applier_service();
void log_state_change(enum wsrep::server_state::state,
enum wsrep::server_state::state);
private:
void start_client(size_t id);