mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-15 15:41:49 +03:00
Fixed assertion on server_state connected - disconnecting transition
Transition from server_state connected state to disconnecting must be allowed to deal with errors during server startup. Added SST first test cases for server_state transitions: * Successful join via SST * Error in connect state * Error in joiner state
This commit is contained in:
@ -186,6 +186,10 @@ namespace wsrep
|
||||
} sync_point_action_;
|
||||
bool sst_before_init_;
|
||||
|
||||
void logged_view(const wsrep::view& view)
|
||||
{
|
||||
logged_view_ = view;
|
||||
}
|
||||
private:
|
||||
wsrep::server_state& server_state_;
|
||||
unsigned long long last_client_id_;
|
||||
|
Reference in New Issue
Block a user