1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Protocol version and connected gtid

* Propagate server max protocol version to provider init options
* Store gtid from connected call to make cluster id and the connect
  position available
This commit is contained in:
Teemu Ollakka
2018-06-26 11:34:05 +03:00
parent bd0ba5b01d
commit 2a53198f5c
7 changed files with 40 additions and 14 deletions

View File

@ -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, "", "./", rollback_mode)
name, id, "", "./", 1, rollback_mode)
, mutex_()
, cond_()
, provider_(*this)