1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +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:
Teemu Ollakka
2018-06-29 11:54:33 +03:00
parent 666eccf463
commit 0851970c53
15 changed files with 137 additions and 25 deletions

View File

@ -16,8 +16,8 @@ namespace wsrep
{
public:
gtid()
: id_()
, seqno_()
: id_(wsrep::id::undefined())
, seqno_(wsrep::seqno::undefined())
{ }
gtid(const wsrep::id& id, wsrep::seqno seqno)
: id_(id)
@ -41,6 +41,7 @@ namespace wsrep
};
std::ostream& operator<<(std::ostream&, const wsrep::gtid&);
std::istream& operator>>(std::istream&, wsrep::gtid&);
}
#endif // WSREP_GTID_HPP