1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-08-05 04:01:12 +03:00
Commit Graph

170 Commits

Author SHA1 Message Date
Teemu Ollakka
0186342092 Initial replicating side implementation of streaming replication 2018-06-12 15:44:20 +03:00
Teemu Ollakka
d9d41a4787 * Fixed wrong error code returned from client_context::before_command
* Fixed raw depends_on assignment from native to wsrep::seqno
* More debug logging
2018-06-12 13:17:01 +03:00
Teemu Ollakka
3456a8b953 Unit tests for identifier class. 2018-06-12 11:22:02 +03:00
Teemu Ollakka
65b4ce9123 Moved gtid class out of provider.hpp 2018-06-12 11:03:50 +03:00
Teemu Ollakka
d6f185c278 Refactored provider specific code out of server_context.cpp 2018-06-12 10:52:56 +03:00
Teemu Ollakka
97d9f93648 Refactored seqno and id classes out of provider.hpp 2018-06-12 10:20:58 +03:00
Teemu Ollakka
f506faa360 More unit tests for various error conditions on certification. 2018-06-11 18:17:00 +03:00
Teemu Ollakka
d248195690 Transaction context unit tests for failures in certify_commit() 2018-06-11 15:56:40 +03:00
Teemu Ollakka
58ea925dc3 * Unit test for BF abort after after_command_before_result()
* Revised logic for handling BF abort around after command operations
* Added lighweight thread class for runtime thread id checking
2018-06-11 11:48:07 +03:00
Teemu Ollakka
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
Teemu Ollakka
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
Teemu Ollakka
ca615fcbd8 Provider abstraction code compiles. 2018-06-10 12:46:42 +03:00
Teemu Ollakka
e74b214c9c Provider type abstraction, partially completed. 2018-06-09 23:28:02 +03:00
Teemu Ollakka
2cecb3defe After statement result enum, is_autocommit() virtual method. 2018-06-09 20:01:46 +03:00
Teemu Ollakka
d3cb537d1e Changed project name to wsrep-lib. 2018-06-03 21:56:28 +03:00
Teemu Ollakka
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
Teemu Ollakka
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
Teemu Ollakka
2f46758064 Fixed after_statement() call to replay if the state was changed
to s_must_replay in rollback() called from after_statement().
2018-05-31 10:59:15 +03:00
Teemu Ollakka
646a2b328e Added TOI client mode, replced string with const char* in debug calls. 2018-05-21 16:42:40 +03:00
Teemu Ollakka
0988978826 Moved public API includes under include/trrep 2018-05-07 19:40:10 +03:00