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

Commit Graph

  • 04944b4d10 Unlock before releasing aborted transaction in provider. Teemu Ollakka 2020-10-13 17:51:51 +03:00
  • c68ad83aba Add --wsrep-debug-level options for unit tests Daniele Sciascia 2020-10-05 16:03:33 +02:00
  • abc0e629ee Fix instructions on how to get a coverage report Daniele Sciascia 2020-10-05 15:28:22 +02:00
  • eac56f19e0 Remove dead code Daniele Sciascia 2020-02-24 18:19:05 +01:00
  • 1205fdbc84 Extend asan coverage to include all GCC compilers except 4.4 and 4.7. Teemu Ollakka 2020-10-02 15:31:24 +03:00
  • 1bc764f8bc Remove forgotten test assertion. wsrep-assert Teemu Ollakka 2020-09-29 12:45:31 +03:00
  • 89fea79f0b Introduced WSREP_ASSERT() for public headers. Teemu Ollakka 2020-09-29 12:00:25 +03:00
  • 3f1c3dc22d Make coverage work with out-of-source builds origin/coverage Daniele Sciascia 2020-09-28 18:38:33 +02:00
  • 96cd92164e Added gcc 10 build into travis configuration, fixed compilation errors. Teemu Ollakka 2020-04-09 12:08:15 +03:00
  • ae4e58ba03 Check existence if dl library. Teemu Ollakka 2020-07-31 11:13:15 +03:00
  • 3e5a28df32 codership/wsrep-lib#135 Fix wrong assertion in before_command(). Teemu Ollakka 2020-07-23 22:05:43 +03:00
  • 8ba574f7bf Make sure that NDEBUG is defined in release builds. Teemu Ollakka 2020-07-23 10:12:30 +03:00
  • daae4a9c35 Some methods in wsrep-lib still hide/ignore return codes from provider which complicates diagnostics and debugging. wsrep-lib#127 Alexey Yurchenko 2020-03-27 15:31:23 +02:00
  • 593f737605 Configurable data payload size for dbsim. Teemu Ollakka 2020-06-26 13:41:30 +03:00
  • 94f5696010 Provide logger callback for wsrep_load mkaruza 2020-04-16 09:36:54 +02:00
  • b0f2bca2db Added aborted parameter for set_position() method GTID-checkpointing sjaakola 2020-04-15 23:41:46 +03:00
  • 754872e2c4 recording GTID checkpoint before leaving commit monitor wsrep-XID sjaakola 2020-04-07 10:34:08 +03:00
  • d0255569b0 Variable desynced_on_pause getter mkaruza 2020-04-02 15:18:29 +02:00
  • 0cec027030 Refs codership/wsrep-lib#124 32-bit compilation fix Alexey Yurchenko 2020-03-20 13:52:50 +00:00
  • dcdd7435bd Added sync-wait option to dbsim. Teemu Ollakka 2019-01-27 14:44:20 +02:00
  • a17b65a25f Set server position after local certification failure Daniele Sciascia 2020-01-07 10:55:11 +01:00
  • 76f7249b8d Incorrect assertion and state handling in after_replay(). Teemu Ollakka 2019-12-27 18:27:16 +02:00
  • 90157ed1b0 Allow concurrent server_state disconnect operations. Teemu Ollakka 2019-12-08 13:42:11 +02:00
  • 29e061116a Fixed transaction_xa_applying unit test. Teemu Ollakka 2019-11-06 15:10:58 +02:00
  • 57523eea75 enter_toi polling fix Leandro Pacheco 2019-09-19 10:03:39 -03:00
  • 8e37727a27 Removed extra line. Teemu Ollakka 2019-09-19 14:15:27 +03:00
  • 7d8583983f Fixes to review comments Teemu Ollakka 2019-09-19 14:08:27 +03:00
  • 3fd20c4e4d Fixed compilation for gcc 4.4 Teemu Ollakka 2019-09-19 10:02:58 +03:00
  • 043ff7a7e9 remove has_error arg from begin_nbo_phase_two Leandro Pacheco 2019-09-17 16:52:29 -03:00
  • b64fbe8fbc fix compilation of unit tests Leandro Pacheco 2019-09-17 11:39:10 -03:00
  • 3389b7ad3c better error handling for NBO failures Leandro Pacheco 2019-09-17 11:06:36 -03:00
  • b63e753aec removed unnecessary leave_toi and related TODO Leandro Pacheco 2019-09-16 10:41:41 -03:00
  • f27f549479 poll_enter_toi timeout handlign Leandro Pacheco 2019-09-13 18:52:17 -03:00
  • 64fda07e91 Fixed NBO unit tests. Teemu Ollakka 2019-09-13 12:48:21 +03:00
  • e0f9550967 handle certification error explicitly when entering TOI Leandro Pacheco 2019-09-09 17:33:33 -03:00
  • 922ce579c7 Clear NBO meta on failure, reset current error status after command. Teemu Ollakka 2019-09-11 12:17:15 +03:00
  • 086c466637 - Added wait-until parameter for begin_nbo_phase_two(). - Retry enter_toi() in poll_enter_toi() also for error_connection_failed which means that the connectivity to the cluster has been lost, a.k.a non-prim. Teemu Ollakka 2019-09-09 17:38:39 +03:00
  • 750052b640 Fixed timeout condition in poll_enter_toi() Teemu Ollakka 2019-09-06 17:03:27 +03:00
  • 3a1b194741 Pass certification keys also for NBO end. Teemu Ollakka 2019-09-06 11:57:56 +03:00
  • 58cea10577 Release TOI critical section in poll_enter_toi() in case of error. Teemu Ollakka 2019-09-05 16:34:13 +03:00
  • 4ff55088b1 Fix NBO error handling Teemu Ollakka 2019-09-05 15:15:30 +03:00
  • e700ce8c79 Added short sleep between calls to enter_toi(). Teemu Ollakka 2019-09-04 16:43:01 +03:00
  • aaa92e130b Made gcc 4.4 work. Teemu Ollakka 2019-09-04 16:25:57 +03:00
  • b05abb005f Chrono definitions to work around g++ 4.4 C++11 incompatibilities. Teemu Ollakka 2019-09-04 15:50:44 +03:00
  • 55fdbb7a05 Added timeout option to enter_toi_local() and begin_nbo_phase_one() Teemu Ollakka 2019-09-04 15:32:16 +03:00
  • b46f89f4ce Fixed unused variable warning. Teemu Ollakka 2019-09-04 15:00:57 +03:00
  • 0683654e53 Include <chrono> to check if it compiles with all required compilers. Teemu Ollakka 2019-09-04 14:50:38 +03:00
  • 594e34052d handle nbo apply eror Leandro Pacheco 2019-08-30 09:43:45 -03:00
  • 5298d2340e error parameter to nbo calls and m_undefined for toi_mode Leandro Pacheco 2019-08-28 18:36:17 -03:00
  • 0b12869715 NBO begin error handling, unit test Teemu Ollakka 2019-08-07 08:42:00 +03:00
  • e9bd950ee6 Fixed nbo_meta handling, release commit order for NBO begin. Teemu Ollakka 2019-08-06 16:29:56 +03:00
  • c7a25b15db Ingnore NBO end event in applier, it will be handled via local TOI Teemu Ollakka 2019-08-06 11:58:43 +03:00
  • 24ad144db3 - 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
  • 6291f1bf16 Squashed memory leaks to get clean test run with ASAN enabled. Teemu Ollakka 2019-06-25 16:35:21 +03:00
  • 85a03394cc NBO applying Teemu Ollakka 2019-06-06 15:50:58 +03:00
  • 1267e29b8f Implementation of client_state NBO operations. Teemu Ollakka 2019-03-07 12:06:16 +02:00
  • 45c64735d6 Added unit test for TOI operations Teemu Ollakka 2019-03-04 19:10:10 +02:00
  • 9b25cebdf1 codership/wsrep-lib#117 Fixed empty vector access. Teemu Ollakka 2019-12-05 13:29:42 +02:00
  • c9513bd2e4 Fixed compilation errors with GCC 4.7 Teemu Ollakka 2019-10-28 16:44:35 +02:00
  • 5ca8e4780e Added GCC 4.7 to travis build matrix. Teemu Ollakka 2019-10-28 16:10:46 +02:00
  • 66ee7bed1b Add type wsrep::xid xa Daniele Sciascia 2019-10-16 14:06:16 +02:00
  • 682d1b2034 Split commit_or_rollback_by_xid() in two methods Daniele Sciascia 2019-10-16 10:11:56 +02:00
  • 725f148ddb Remove query() method from wsrep::client_service interface Daniele Sciascia 2019-10-10 12:40:21 +02:00
  • 5d18ce3e75 Minimize client_service interface for XA Daniele Sciascia 2019-07-30 11:25:38 +02:00
  • 052247144f Support recovery of XA transactions Daniele Sciascia 2019-03-14 11:30:01 +01:00
  • 98af85498b removing bytes_certified Leandro Pacheco 2019-03-12 11:37:45 +01:00
  • d9ada0226f use log_position when calculating bytes_to_replicate Leandro Pacheco 2019-03-11 14:49:01 +01:00
  • a9987aa970 s_prepared state for XA transactions Leandro Pacheco 2019-02-21 17:02:18 +01:00
  • b73df49cff basic XA unit tests Leandro Pacheco 2019-02-19 12:18:45 +01:00
  • e02f617d5f Document log_position param in client_service::prepare_data_for_replication() Daniele Sciascia 2019-02-14 08:53:20 +01:00
  • 68adbe35f6 Fixup unused parameter position in prepare_fragment_for_replication() Daniele Sciascia 2019-02-14 00:37:49 +01:00
  • b614822f08 Fixup to previous commit Daniele Sciascia 2019-02-14 00:31:17 +01:00
  • f80f97db2f Record database log_postion for streaming Daniele Sciascia 2019-02-14 00:08:23 +01:00
  • 24cd49b23f Improved logging output of ws_meta Daniele Sciascia 2019-02-14 00:04:53 +01:00
  • e0118c1378 removing assertion about current thread in next_fragment Leandro Pacheco 2019-02-11 18:22:29 +01:00
  • 3389074e24 comments and style fixes Leandro Pacheco 2019-02-11 14:51:43 +01:00
  • 36346beab4 Fixes for XA transactions with streaming enabled Leandro Pacheco 2019-02-11 11:38:17 +01:00
  • 54b0eeee45 Add is_query() and is_xa() to dbsim/test client service implementations Daniele Sciascia 2019-02-10 16:03:49 +01:00
  • 9c9323e2a5 Initial support for XA Daniele Sciascia 2019-02-04 08:45:00 +01:00
  • 5c27d6dafa Removed unneeded provider version probe. Teemu Ollakka 2019-10-15 11:47:35 +03:00
  • 54ad9d94f5 Use v26 provider implementation by default if dummy provider is loaded. Teemu Ollakka 2019-10-14 15:52:24 +03:00
  • 613b55a007 Fixes to make code backwards compatible. Teemu Ollakka 2019-10-14 09:58:20 +03:00
  • eb4cf86c1e Implemented thread service support. Teemu Ollakka 2019-02-16 17:09:18 +02:00
  • 477a71dd46 Updated wsrep-API, added -Wconversion to compiler flags, fixed errors. Teemu Ollakka 2019-10-10 13:54:05 +03:00
  • f11d98a9c7 Cleanups wsrep-api-cleanup Teemu Ollakka 2019-10-04 11:33:54 +03:00
  • 29835fbec0 Cleaning wsrep-API dependencies from library code Teemu Ollakka 2019-02-16 17:09:18 +02:00
  • 23b2b9d3ee enter_toi polling fix nbo_leandro Leandro Pacheco 2019-09-19 10:03:39 -03:00
  • ac9f13b05f Removed extra line. Teemu Ollakka 2019-09-19 14:15:27 +03:00
  • fb2b8d3e51 Fixes to review comments Teemu Ollakka 2019-09-19 14:08:27 +03:00
  • d81adc945c Fixed compilation for gcc 4.4 Teemu Ollakka 2019-09-19 10:02:58 +03:00
  • eae18a1bca remove has_error arg from begin_nbo_phase_two Leandro Pacheco 2019-09-17 16:52:29 -03:00
  • decaa9b8f9 fix compilation of unit tests Leandro Pacheco 2019-09-17 11:39:10 -03:00
  • 03e7bdd457 better error handling for NBO failures Leandro Pacheco 2019-09-17 11:06:36 -03:00
  • 4fb2ac8f7d removed unnecessary leave_toi and related TODO Leandro Pacheco 2019-09-16 10:41:41 -03:00
  • e70957cc16 poll_enter_toi timeout handlign Leandro Pacheco 2019-09-13 18:52:17 -03:00
  • 1bff5bed63 Fixed NBO unit tests. Teemu Ollakka 2019-09-13 12:48:21 +03:00
  • 0abcb5994c handle certification error explicitly when entering TOI Leandro Pacheco 2019-09-09 17:33:33 -03:00
  • 446e31c86a Clear NBO meta on failure, reset current error status after command. Teemu Ollakka 2019-09-11 12:17:15 +03:00
  • dda2d83f23 - Added wait-until parameter for begin_nbo_phase_two(). - Retry enter_toi() in poll_enter_toi() also for error_connection_failed which means that the connectivity to the cluster has been lost, a.k.a non-prim. Teemu Ollakka 2019-09-09 17:38:39 +03:00
  • 13a4c7b024 Fixed timeout condition in poll_enter_toi() Teemu Ollakka 2019-09-06 17:03:27 +03:00