mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +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:
@ -22,7 +22,7 @@ namespace wsrep
|
||||
const std::string& id,
|
||||
enum wsrep::server_state::rollback_mode rollback_mode)
|
||||
: wsrep::server_state(mutex_, cond_, *this,
|
||||
name, id, "", "./", 1, rollback_mode)
|
||||
name, id, "", "./", wsrep::gtid::undefined(), 1, rollback_mode)
|
||||
, sst_before_init_()
|
||||
, mutex_()
|
||||
, cond_()
|
||||
@ -53,6 +53,7 @@ namespace wsrep
|
||||
{
|
||||
delete client_state;
|
||||
}
|
||||
void bootstrap() WSREP_OVERRIDE { }
|
||||
void log_message(enum wsrep::log::level level, const char* message)
|
||||
{
|
||||
wsrep::log(level, name().c_str()) << message;
|
||||
|
Reference in New Issue
Block a user