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