1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-04-19 21:02:17 +03:00

13 Commits

Author SHA1 Message Date
Teemu Ollakka
d3821d88a5 Partial implementation of methods needed for SST.
* server_state desync()/resync() and pause()/resume()
* Fixes to server_state state machine
2018-06-24 14:35:47 +03:00
Teemu Ollakka
bf7dad6815 Added open(), close(), cleanup() methods to client_state.
Depending on the DBMS client session allocation strategy the
client id may or may not be available when the client_session
is constructed, therefore there should be a method to assign
an id after construction. Close/cleanup methods were added to
clean up open transactions appropriately.
2018-06-20 10:07:55 +03:00
Teemu Ollakka
03043d3f25 Removing client_state dependency from client_service. 2018-06-18 10:21:02 +03:00
Teemu Ollakka
ef4baa9f9d Renamed server_context to server_state. 2018-06-17 10:07:48 +03:00
Teemu Ollakka
790c2bec4e Renamed transcation_context to transaction 2018-06-17 10:04:00 +03:00
Teemu Ollakka
dd28b173ab Renamed client_context to client_state. 2018-06-17 10:00:13 +03:00
Teemu Ollakka
47cb8e604c Renamed client context m_applier to m_high_priority 2018-06-16 15:08:31 +03:00
Teemu Ollakka
256000f934 Refactored client_service interface out of client_context 2018-06-14 19:44:38 +03:00
Teemu Ollakka
ca6286d8b2 Use provider for replaying in mock client_context instead of
calling server context apply directly.
2018-06-14 12:41:34 +03:00
Teemu Ollakka
a8ab9c6dbd SR applying implementation, unit tests. 2018-06-14 11:14:40 +03:00
Teemu Ollakka
39c9ef8a63 Tests for transaction context, server context state strings. 2018-06-13 17:24:37 +03:00
Teemu Ollakka
461247adc1 Renamed unit test doubles 2018-06-13 11:23:48 +03:00
Teemu Ollakka
174ecfe578 Moved tests under separate directory. 2018-06-12 18:17:32 +03:00