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:
@ -55,6 +55,18 @@ namespace wsrep
|
||||
*/
|
||||
virtual void background_rollback(wsrep::client_state&) = 0;
|
||||
|
||||
/**
|
||||
* Bootstrap a DBMS state for a new cluster.
|
||||
*
|
||||
* This method is called by the wsrep lib after the
|
||||
* new cluster is bootstrapped and the server has reached
|
||||
* initialized state. From this call the DBMS should initialize
|
||||
* environment for the new cluster.
|
||||
*
|
||||
* @param gtid Gtid of the bootstrap position.
|
||||
*/
|
||||
virtual void bootstrap() = 0;
|
||||
|
||||
/**
|
||||
* Log message
|
||||
*
|
||||
|
Reference in New Issue
Block a user