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:
@ -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
|
||||
|
Reference in New Issue
Block a user