1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

20 Commits

Author SHA1 Message Date
4ee624cfbc Tweaks to travis configuration and cmake
Travis:
* Don't install all g++ versions on all build targets.
* Install addons per target to have finer control on what is needed
* Use WSREP_STRICT_BUILD_FLAGS on other targets than GCC 4.8

cmake:
* Fixed CMakeLists.txt to check only boost libraries which are
  actually needed
2018-10-24 19:15:52 +03:00
9fccd8e1ee Travis CI configuration file
In order to make build successful on wider number of platforms,
removed -Weffc++ from default build options. Added a new cmake
option WSREP_LIB_STRICT_BUILD_FLAGS to enable it.
2018-10-24 19:15:52 +03:00
cf434f3da5 Fix make test
Fixed `make test` so that it runs unit tests.

codership/wsrep-lib#7
2018-10-19 12:13:10 +03:00
5e5906d598 Prefixed cmake WITH_ definitions with WSREP_LIB_ to avoid collisions
with superproject definitions.

Avoid using client_service::do_2pc() in before_commit() to
determine if 2pc is actually happening, will use transaction
states to deduce that. client_service::do_2pc() should be deprecated.

Fixed a compiler warning in db_high_priority_service.cpp.
2018-10-12 16:04:52 +03:00
e916453e6d Enabled Wnon-virtual-dtor 2018-07-09 23:03:44 +03:00
3632e7823c Pass high_priority_service instead of void ptr for provider methods. 2018-07-03 07:48:35 +03:00
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
461247adc1 Renamed unit test doubles 2018-06-13 11:23:48 +03:00
292072bf56 Reorganized coverage report, missing test cases for id. 2018-06-12 19:00:05 +03:00
174ecfe578 Moved tests under separate directory. 2018-06-12 18:17:32 +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
15f483ca7f Added wsrep-API/v26 submodule which will point to correct branch
of current wsrep-API v26 version.
2018-06-05 12:45:25 +03:00
d3cb537d1e Changed project name to wsrep-lib. 2018-06-03 21:56:28 +03:00
0988978826 Moved public API includes under include/trrep 2018-05-07 19:40:10 +03:00
c301c0896b Refactoring. 2018-04-29 17:15:24 +03:00
f3afb6306d Initial documentation for server context. 2018-04-27 10:33:53 +03:00
3510d0739c Added SST methods, able to start several nodes in simulator 2018-04-19 15:03:38 +03:00
557d43657c Initial version of dbms_simulator, partial wsrep provider loading 2018-04-18 18:16:55 +03:00
7e5d2d3606 Added placeholder doxyfile 2018-04-17 16:58:28 +03:00
3b428ff0b7 Imported initial implementation 2018-04-16 14:37:58 +03:00