1
0
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:
Teemu Ollakka
2018-12-19 13:53:02 +02:00
parent 1776537765
commit e81c66cd59
4 changed files with 101 additions and 10 deletions

View File

@ -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_;