mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-31 18:24:25 +03:00
Bootstrap server service, fixes to server state management
* Added bootstrap service call to do DBMS side bootstrap operations during the cluster bootstrap. * Added last_committed_gtid() to provider interface * Implemented wait_for_gtid() provider call * Pass initial position to the server state
This commit is contained in:
@ -48,6 +48,10 @@ void db::server_service::background_rollback(wsrep::client_state&)
|
||||
{
|
||||
}
|
||||
|
||||
void db::server_service::bootstrap()
|
||||
{
|
||||
}
|
||||
|
||||
void db::server_service::log_message(enum wsrep::log::level level,
|
||||
const char* message)
|
||||
{
|
||||
|
@ -22,6 +22,7 @@ namespace db
|
||||
int start_sst(const std::string&, const wsrep::gtid&, bool) override;
|
||||
std::string sst_request() override;
|
||||
void background_rollback(wsrep::client_state&) override;
|
||||
void bootstrap() override;
|
||||
void log_message(enum wsrep::log::level, const char* message);
|
||||
void log_dummy_write_set(wsrep::client_state&, const wsrep::ws_meta&)
|
||||
override;
|
||||
|
@ -31,6 +31,7 @@ namespace db
|
||||
server_id,
|
||||
address,
|
||||
working_dir,
|
||||
wsrep::gtid::undefined(),
|
||||
1,
|
||||
wsrep::server_state::rm_async)
|
||||
, mutex_()
|
||||
|
Reference in New Issue
Block a user