1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-02 05:22:26 +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

@ -117,7 +117,7 @@ namespace wsrep
*
* @todo Fix UML generation
*
* Server state diagram if the sst_before_init() returns false.
* Server state diagram if initialization happens before SST.
*
* [*] --> disconnected
* disconnected --> initializing
@ -129,7 +129,7 @@ namespace wsrep
* synced --> donor
* donor --> joined
*
* Server state diagram if the sst_before_init() returns true.
* Server state diagram if SST happens before initialization.
*
* [*] --> disconnected
* disconnected --> connected