1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-06-14 15:02:27 +03:00
Commit Graph

36 Commits

Author SHA1 Message Date
dd28b173ab Renamed client_context to client_state. 2018-06-17 10:00:13 +03:00
97ee96987e Fixed dbsim BF aborts 2018-06-17 09:52:56 +03:00
6dcac8ce4d Finished dbsim integration with refactored client API. 2018-06-16 10:25:14 +03:00
b3f60b7be1 Refactoring continued. 2018-06-15 15:13:22 +03:00
0b6e49474f Tests and fixes for replaying. 2018-06-14 15:00:40 +03:00
a8ab9c6dbd SR applying implementation, unit tests. 2018-06-14 11:14:40 +03:00
4ccd1490d4 Fixes required to 1PC streaming replay to pass. 2018-06-13 14:33:58 +03:00
6677e3cfd8 More unit tests for streaming replication. 2018-06-13 14:13:55 +03:00
265d9b3322 Unit tests for SR with two statements, SR rollback. 2018-06-13 10:18:46 +03:00
9e8e6d47ba * Unit test for SR 2PC
* Removed redundant data class
* Introduced const_buffer and mutable_buffer
* Transaction context and client context interface refactoring
2018-06-12 18:04:32 +03:00
0186342092 Initial replicating side implementation of streaming replication 2018-06-12 15:44:20 +03:00
d6f185c278 Refactored provider specific code out of server_context.cpp 2018-06-12 10:52:56 +03:00
97d9f93648 Refactored seqno and id classes out of provider.hpp 2018-06-12 10:20:58 +03:00
e18c9d597f * Unit test for idle client BF abort.
* Fixes to seqno conversion between provider and provider library.
* Server context applying side fixes.
2018-06-10 19:27:09 +03:00
2619615e02 Fixed problems with server_context unit tests.
Added WITH_ASAN and WITH_TSAN options, enabled unit tests by default.
2018-06-10 15:31:41 +03:00
e74b214c9c Provider type abstraction, partially completed. 2018-06-09 23:28:02 +03:00
d3cb537d1e Changed project name to wsrep-lib. 2018-06-03 21:56:28 +03:00
188bda1339 Split client_context::after_command() into two stages, before
sending result to client and after the result was sent. Added
s_result state to client_context states.
2018-06-02 15:55:54 +03:00
c73e7c8f5d Do not call before/after command/statement for replaying client. 2018-05-31 17:11:02 +03:00
ae93785a57 Allow read-only access to transaction context through
client context to enforce use of client context interface
for manipulating transaction context state.
2018-05-31 16:55:57 +03:00
0988978826 Moved public API includes under include/trrep 2018-05-07 19:40:10 +03:00
db5bcb50ef Renamed SST related interface methods. 2018-05-07 19:04:41 +03:00
e3ca0d699b Added logger class, BF abort debugging. 2018-04-30 17:28:18 +03:00
3c334fbc87 More strict server context state management. 2018-04-29 18:42:36 +03:00
c301c0896b Refactoring. 2018-04-29 17:15:24 +03:00
c1f8f2c37d Client context documentation, refactoring. 2018-04-27 17:03:09 +03:00
f3afb6306d Initial documentation for server context. 2018-04-27 10:33:53 +03:00
ea512d9c36 Ported to latest wsrep API v26 2018-04-20 16:54:10 +03:00
3510d0739c Added SST methods, able to start several nodes in simulator 2018-04-19 15:03:38 +03:00
3c6eff581c DBMS simulator is now able to start and stop one server
Other:
* Added trrep::condition_variable
* Added trrep::view
2018-04-19 13:09:36 +03:00
557d43657c Initial version of dbms_simulator, partial wsrep provider loading 2018-04-18 18:16:55 +03:00
cd21425e07 Added unit tests for server_context applying codepath. 2018-04-18 15:03:12 +03:00
bed41a5ffd Made provider abstract interface instead of using pimpl.
Added forgotten mock_client_context.hpp.
2018-04-18 12:46:25 +03:00
468e66dea0 Applier side transaction state changes and tests 2018-04-17 16:37:03 +03:00
ab795f7979 Mock server context 2018-04-17 15:01:48 +03:00
5c3d5ce24d Various changes
* Added preparing state to transaction_context to better distinguish
  between 1PC and 2PC processing
* Changed client_context m_local to denote local only client mode,
  added m_replicating for replicating mode
* Initial unfinished and untested fragment certification
2018-04-17 11:21:11 +03:00