Teemu Ollakka
9070f2a891
Change unit tests to mimic application behavior on replaying
...
Allocate separate client state in mock_client_service::replay()
for replaying step.
Added two new test cases for streaming replication replay after
BF abort.
2023-05-26 12:47:47 +03:00
Teemu Ollakka
3b3429d8df
Work around GCC 12 warning of uninitialized use
...
Use pointers to pass state objects to service constructors
to work around GCC 12 warning
error: member ‘wsrep::mock_storage_service::client_state_’
is used uninitialized
2023-02-27 13:32:55 +02:00
Teemu Ollakka
c0c977f9ab
Added GPLv2 licence and copyright headers.
2018-10-15 15:14:22 +03:00
Alexey Yurchenko
31f244c3b3
Fixed compilation on Ubuntu 18.04 / GCC 7.3.0
2018-10-02 21:41:14 +03:00
Teemu Ollakka
2ac13100f7
Refactored storage service out of client service interface.
2018-07-07 18:06:37 +03:00
Teemu Ollakka
e876418ed3
* Renamed client service rollback() to bf_rollback() to better
...
describe its purpose.
* Raise deadlock error for BF aborted transaction in after_statement()
call if the error is not set yet.
2018-07-06 15:42:03 +03:00
Teemu Ollakka
635eaf4c29
Refactored high priority service out of client service.
2018-07-02 18:22:24 +03:00
Teemu Ollakka
cad9176474
TOI replicating and applying codepaths
2018-06-25 09:28:51 +03:00
Teemu Ollakka
03043d3f25
Removing client_state dependency from client_service.
2018-06-18 10:21:02 +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