1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-06-16 02:01:44 +03:00

Partial implementation of methods needed for SST.

* server_state desync()/resync() and pause()/resume()
* Fixes to server_state state machine
This commit is contained in:
Teemu Ollakka
2018-06-24 14:35:47 +03:00
parent 1f6a6db1e9
commit d3821d88a5
6 changed files with 266 additions and 38 deletions

View File

@ -12,6 +12,8 @@
#define WSREP_VIEW_HPP
#include "id.hpp"
#include "seqno.hpp"
#include "gtid.hpp"
#include <vector>
namespace wsrep
@ -45,6 +47,15 @@ namespace wsrep
std::string incoming_;
};
view()
: state_id_()
, view_seqno_()
, status_(disconnected)
, capabilities_()
, own_index_(-1)
, protocol_version_(0)
, members_()
{ }
view(const wsrep::gtid& state_id,
wsrep::seqno view_seqno,
enum wsrep::view::status status,