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

181 Commits

Author SHA1 Message Date
Teemu Ollakka
cf231bdf2d Refactored server_service out of server_state. 2018-06-18 17:45:24 +03:00
Teemu Ollakka
ef5751943d Refactored most of the server_state interface into server_service
abstract interface.
2018-06-18 16:52:41 +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
97ee96987e Fixed dbsim BF aborts 2018-06-17 09:52:56 +03:00
Teemu Ollakka
ad0617c660 Using javadoc style for doc comments 2018-06-16 15:23:14 +03:00
Teemu Ollakka
47cb8e604c Renamed client context m_applier to m_high_priority 2018-06-16 15:08:31 +03:00
Teemu Ollakka
6dcac8ce4d Finished dbsim integration with refactored client API. 2018-06-16 10:25:14 +03:00
Teemu Ollakka
b3f60b7be1 Refactoring continued. 2018-06-15 15:13:22 +03:00
Teemu Ollakka
cb3b2fbf9e Fixed unit test failures caused by refactoring. 2018-06-14 23:13:25 +03:00
Teemu Ollakka
256000f934 Refactored client_service interface out of client_context 2018-06-14 19:44:38 +03:00
Teemu Ollakka
0b6e49474f Tests and fixes for replaying. 2018-06-14 15:00:40 +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
6246d9d3b8 Allow must_abort - cert_failed transition.
If the BF abort happens during provider certify call which
returns certification failure, the cert_failed state should
take precedence.
2018-06-14 11:58:47 +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
3cd7a11cb2 Extracted streaming_context into separa teclass 2018-06-13 16:59:25 +03:00
Teemu Ollakka
37efaba3e5 Bytes and statement streaming unit. 2018-06-13 16:51:23 +03:00
Teemu Ollakka
4c1ea388f8 Call before_prepare()/after_prepare() for applier in before_commit()
if no 2PC is required.
2018-06-13 15:34:49 +03:00
Teemu Ollakka
4ccd1490d4 Fixes required to 1PC streaming replay to pass. 2018-06-13 14:33:58 +03:00
Teemu Ollakka
6677e3cfd8 More unit tests for streaming replication. 2018-06-13 14:13:55 +03:00
Teemu Ollakka
f07885e204 Call before/after prepare from before_commit() when 1PC
before_prepare() call prepares removal SR fragments from stable
storage and the logic should be duplicated in before_commit()
otherwise.
2018-06-13 13:04:33 +03:00
Teemu Ollakka
a7adcb01ba Unit test for 2PC where rollback is done immediately after after_prepare() 2018-06-13 12:35:42 +03:00
Teemu Ollakka
37c56cb5ec Moved 2PC tests into separate compliation unit. 2018-06-13 12:22:03 +03:00
Teemu Ollakka
9ff5d61111 Unit test for SR non-committing fragment failure 2018-06-13 11:36:22 +03:00
Teemu Ollakka
461247adc1 Renamed unit test doubles 2018-06-13 11:23:48 +03:00
Teemu Ollakka
265d9b3322 Unit tests for SR with two statements, SR rollback. 2018-06-13 10:18:46 +03:00
Teemu Ollakka
292072bf56 Reorganized coverage report, missing test cases for id. 2018-06-12 19:00:05 +03:00
Teemu Ollakka
174ecfe578 Moved tests under separate directory. 2018-06-12 18:17:32 +03:00