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

Commit Graph

  • bf64c2dd01 Pass certification keys also for NBO end. Teemu Ollakka 2019-09-06 11:57:56 +03:00
  • 38bff4b68f Release TOI critical section in poll_enter_toi() in case of error. Teemu Ollakka 2019-09-05 16:34:13 +03:00
  • 31e0476dae Fix NBO error handling Teemu Ollakka 2019-09-05 15:15:30 +03:00
  • 93c7d5e86a Added short sleep between calls to enter_toi(). Teemu Ollakka 2019-09-04 16:43:01 +03:00
  • 8f8f3d9210 Made gcc 4.4 work. Teemu Ollakka 2019-09-04 16:25:57 +03:00
  • 20ef502dd6 Chrono definitions to work around g++ 4.4 C++11 incompatibilities. Teemu Ollakka 2019-09-04 15:50:44 +03:00
  • db87cf7d9c Added timeout option to enter_toi_local() and begin_nbo_phase_one() Teemu Ollakka 2019-09-04 15:32:16 +03:00
  • 1d51996981 Fixed unused variable warning. Teemu Ollakka 2019-09-04 15:00:57 +03:00
  • e34a522918 Include <chrono> to check if it compiles with all required compilers. Teemu Ollakka 2019-09-04 14:50:38 +03:00
  • 256b935bc0 handle nbo apply eror Leandro Pacheco 2019-08-30 09:43:45 -03:00
  • 7082d8f104 error parameter to nbo calls and m_undefined for toi_mode Leandro Pacheco 2019-08-28 18:36:17 -03:00
  • 74e2641e1e NBO begin error handling, unit test Teemu Ollakka 2019-08-07 08:42:00 +03:00
  • f22308192d Fixed nbo_meta handling, release commit order for NBO begin. Teemu Ollakka 2019-08-06 16:29:56 +03:00
  • 5417ecd6aa Ingnore NBO end event in applier, it will be handled via local TOI Teemu Ollakka 2019-08-06 11:58:43 +03:00
  • 23adb8f9f8 - Remove unneeded keys from nbo phase two begin. - Save nbo meta for phase two - Assign trx_meta in mutable_ws_meta Teemu Ollakka 2019-08-06 11:39:42 +03:00
  • 8c4b395d25 Squashed memory leaks to get clean test run with ASAN enabled. Teemu Ollakka 2019-06-25 16:35:21 +03:00
  • 395f716014 NBO applying Teemu Ollakka 2019-06-25 15:54:00 +03:00
  • 3879d6962f Fix Teemu Ollakka 2019-06-06 20:09:08 +03:00
  • ef448e2f63 save Teemu Ollakka 2019-06-06 15:50:58 +03:00
  • 946eb4121d Implementation of client_state NBO operations. Teemu Ollakka 2019-05-06 18:39:55 +03:00
  • 53d71b29ea Save Teemu Ollakka 2019-03-07 12:06:16 +02:00
  • 795469401c Added unit test for TOI operations Teemu Ollakka 2019-03-04 19:10:10 +02:00
  • 58aa3e821f Updated travis definitions Teemu Ollakka 2019-08-29 15:21:21 +03:00
  • 20128556d6 Restore original thread local storage after releasing streaming applier. Teemu Ollakka 2019-08-29 14:56:21 +03:00
  • 55427188c1 avoid holding server_state lock when creating streaming applier Leandro Pacheco 2019-08-07 09:17:22 -03:00
  • 0c54cbd3f8 codership/wsrep-lib#106 Relaxed assumptions about threading model Teemu Ollakka 2019-07-10 16:13:56 +03:00
  • 0f676bd893 codership/wsrep-lib#104 Error voting support Alexey Yurchenko 2019-04-30 19:00:48 +03:00
  • fd66bdef0b codership/wsrep-lib#107 Replace exceptions with assertions v1.0 Teemu Ollakka 2019-07-12 16:15:13 +03:00
  • eba8a8f35d Added version header, handle version in top level CMakeLists.txt Teemu Ollakka 2019-06-07 14:23:05 +03:00
  • 503d4e7ab4 GCC 4.4 build for Travis Teemu Ollakka 2019-06-07 14:16:40 +03:00
  • edcfcaf8a2 Write wsrep-lib log from unit tests into file test-log-file Teemu Ollakka 2019-06-06 16:35:31 +03:00
  • 4285ff99ea codership/wsrep-lib#100 Support for assign_read_view() wsrep API call Alexey Yurchenko 2019-04-30 21:31:30 +03:00
  • e9dafb7373 Provided methods to clone subset of transaction state for replay. Teemu Ollakka 2019-04-03 18:36:07 +03:00
  • ae746fb289 fixing reviewer comments Leandro Pacheco 2019-03-05 10:53:21 +01:00
  • 5ef5becea6 removing previous_primary_view from public iface and style fixes Leandro Pacheco 2019-03-05 10:34:30 +01:00
  • 71f3fb2d01 close SR transacions on equal consecutive views Leandro Pacheco 2019-03-05 09:41:48 +01:00
  • 56f605c607 Added sync points before and after commit order leave Teemu Ollakka 2019-02-28 14:27:35 +02:00
  • badf53a28d Return error code from high_priority_service::adopt_transaction() Teemu Ollakka 2019-02-25 09:27:17 +02:00
  • c61811ed70 codership/wsrep-lib#90 Fixed assertion in before_commit() Teemu Ollakka 2019-02-24 12:05:58 +02:00
  • 376708af6a codership/wsrep-lib#88 Fixed typo in view.cpp bugfix_issue88 Shahriyar Rzayev 2019-02-22 16:13:57 +04:00
  • 9bec7d940c More graceful error handling in abort_or_interrupt() Teemu Ollakka 2019-02-20 09:49:04 +02:00
  • d52f43c049 Review fix: changed prev_state to state_at_enter Teemu Ollakka 2019-02-19 23:03:03 +02:00
  • 49deb7da98 Refactored checks for transaction state before certification Teemu Ollakka 2019-02-19 22:26:45 +02:00
  • ab0e5f5d77 Fixed streaming transaction BF abort Teemu Ollakka 2019-02-19 11:08:11 +02:00
  • 0b09871ad5 Reset client state gtid state in client_state::open() Teemu Ollakka 2019-02-18 15:57:16 +02:00
  • 92024c7d50 codership/wsrep-lib#83 Release lock before commit_order_enter() Teemu Ollakka 2019-02-18 09:02:33 +02:00
  • 8c2daa7e3d Handle BF abort during fragment removal Teemu Ollakka 2019-02-15 11:44:17 +02:00
  • 9c387ef82f Count fragments certified for a statement. Teemu Ollakka 2019-02-14 23:50:41 +02:00
  • af8383daf0 C++11 checks in CMakeLists.txt, added atomic.hpp Teemu Ollakka 2019-02-13 13:00:08 +02:00
  • be98517cb3 Debug log level implementation mkaruza 2019-02-12 10:44:26 +01:00
  • 510c7f767f Deal with backwards compatibility in sst_received() Teemu Ollakka 2019-02-12 15:56:22 +02:00
  • a04a6e56c6 Release high prio client mutex before commit order wait fix-commit-order-deadlock Teemu Ollakka 2019-02-12 20:09:22 +02:00
  • 20b52ff1dd Allow direct manipulation of streaming context parameters. Teemu Ollakka 2019-02-11 16:06:39 +02:00
  • 4eb6074e67 codership/wsrep-lib#71 to make output cleaner with additional space Shahriyar Rzayev 2019-02-08 13:46:34 +04:00
  • ad5d8ea066 Fixed typo for issue #68 Shahriyar Rzayev 2019-02-06 12:19:32 +04:00
  • e7d72ae7f6 codership/mariadb-wsrep#27 Galera cache encryption mkaruza 2018-11-10 11:07:52 +01:00
  • 0c75d68bed Added encryption simulation in dbsim encrypt-teemu Teemu Ollakka 2019-01-28 12:58:59 +02:00
  • 532ba4c452 codership/mariadb-wsrep#27 Galera cache encryption fixup Alexey Yurchenko 2019-01-20 14:38:07 +02:00
  • dead5e2c17 codership/mariadb-wsrep#27 Galera cache encryption mkaruza 2018-11-10 11:07:52 +01:00
  • e7f2dfdf93 Added .gitignore Teemu Ollakka 2019-01-28 09:49:25 +02:00
  • 1340442800 Helper script to run dbsim stress test with provider loaded Teemu Ollakka 2019-01-25 14:50:44 +02:00
  • 9a32c72b48 Fixed dbsim replaying to conform current implementation Teemu Ollakka 2019-01-25 13:44:25 +02:00
  • fc5f59d27e Implemented dbsim high prio service log_dummy_write_set() Teemu Ollakka 2019-01-24 13:34:15 +02:00
  • f30d9c06ce Enhanced dbsim to store view and position in storage engine Teemu Ollakka 2019-01-23 19:10:34 +02:00
  • 632f8c3b14 Fixed race condition in checking init_initialized on prim view Teemu Ollakka 2019-01-23 19:07:08 +02:00
  • 136767ae04 Added WSREP_LIB_STRICT_BUILD_FLAGS and WSREP_LIB_MAINTAINER_MODE to README.md Teemu Ollakka 2019-01-24 18:15:13 +02:00
  • 2e4cebb9e9 Added WSREP_LIB_MAINTAINER_MODE cmake option Teemu Ollakka 2019-01-24 17:57:23 +02:00
  • 28e52c8412 Added runtime_error overload with const char* argument Teemu Ollakka 2019-01-23 11:41:34 +02:00
  • e61be45205 Added osx/xcode10.1 builds into build matrix Teemu Ollakka 2019-01-23 11:41:18 +02:00
  • 8e4777114b Update wsrep-API v26 to include enc signature fixes Teemu Ollakka 2019-01-21 18:50:28 +02:00
  • 6e2c70c226 codership/wsrep-lib#54 Fixed race in server disconnect Teemu Ollakka 2019-01-18 14:52:54 +02:00
  • a6b38d2428 codership/wsrep-lib#54 Service call to recover streaming appliers Teemu Ollakka 2019-01-18 14:02:58 +02:00
  • 144d8c13c1 Relaxed server_state state transition sanity checks Teemu Ollakka 2019-01-21 13:41:32 +02:00
  • 76875c3be1 Allowed transition s_joined to s_donor mkaruza 2019-01-21 11:46:33 +01:00
  • 47263df442 Revert "codership/mariadb-wsrep#27 Galera cache encryption" revert-encryption Teemu Ollakka 2019-01-21 14:12:28 +02:00
  • 476bcdb41e Revert "codership/mariadb-wsrep#27 Galera cache encryption fixup" Teemu Ollakka 2019-01-21 14:12:10 +02:00
  • 043e8bc2ea codership/mariadb-wsrep#27 Galera cache encryption fixup master-before-encryption-revert Alexey Yurchenko 2019-01-20 14:38:07 +02:00
  • b9f371c269 Added -Wimplicit-fallthrough buildbot-compilation-fix mkaruza 2018-12-31 15:04:10 +01:00
  • 7e9419e811 codership/mariadb-wsrep#27 Galera cache encryption mkaruza 2018-11-10 11:07:52 +01:00
  • ae734a33f8 Fixed compilation errors picked up by travis clang builds Teemu Ollakka 2019-01-19 18:08:49 +02:00
  • 869a706fa1 Added clang 3.8, 4.0, 5.0 and 7.0 build to travis build matrix Teemu Ollakka 2019-01-19 18:08:10 +02:00
  • aeb5990642 Define undefined id and gtid as const static member variables. Use default seqno and id constructors in default gtid ctor instead of calls to static undefined to initialize. Teemu Ollakka 2019-01-18 23:57:24 +02:00
  • 55f6c63328 codership/wsrep-lib#52 Removed client_service do_2pc() Teemu Ollakka 2019-01-16 15:00:20 +02:00
  • 89b3561ad8 Read recovered position from sst_received() after initialization Teemu Ollakka 2019-01-14 13:11:57 +02:00
  • 17fc8c16de Turn "Enabling/Disabling streaming" into debug messages Daniele Sciascia 2019-01-15 11:05:07 +01:00
  • 1e9325197a Turn "Could not find applier context" into debug message Daniele Sciascia 2019-01-15 10:57:39 +01:00
  • 1402cb3701 Added debug sync point before entering commit order order-before-prepare Teemu Ollakka 2019-01-11 16:31:36 +02:00
  • fccdad6ee9 Changed certification to happen in before_prepare() Teemu Ollakka 2019-01-08 17:02:32 +02:00
  • a3a632cafe Added method to check if provider is loaded mkaruza 2019-01-10 10:04:58 +01:00
  • 4ac15e4349 Fix attempt to replicate empty fragments Daniele Sciascia 2019-01-07 11:45:28 +01:00
  • a9e2fdccfc Disable streaming on client_state::close() Daniele Sciascia 2018-12-31 11:50:06 +01:00
  • 0441746368 codership/wsrep-lib#44 Provider name, version and vendor getters Teemu Ollakka 2019-01-02 12:11:26 +02:00
  • 47e85fdecc Check istream state before assigning return value for gtid. inital-position-fix Teemu Ollakka 2018-12-27 17:41:30 +02:00
  • 460d3e03c7 Pass initial position when loading the provider Teemu Ollakka 2018-12-24 18:37:10 +02:00
  • cc67313515 Check if client was interrupted before fragment replication Daniele Sciascia 2018-12-21 14:23:19 +01:00
  • 653d2526eb codership/wsrep-lib#34 Changed flow of control in sst_received() Teemu Ollakka 2018-12-21 15:11:41 +02:00
  • 4f88e9aea6 codership/wsrep-lib#34 Fixed non-debug compilation error Teemu Ollakka 2018-12-20 19:33:40 +02:00
  • ba02e7525b codership/wsrep-lib#34 Unit tests for initialization errors Teemu Ollakka 2018-12-20 14:51:13 +02:00
  • e9bb552096 codership/wsrep-lib#34 Provided a method to interrupt state waiters Teemu Ollakka 2018-12-20 13:42:21 +02:00
  • ac5a4cde0d codership/wsrep-lib#34 Fixed init first IST processing Teemu Ollakka 2018-12-20 11:11:27 +02:00