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

Commit Graph

  • ba8e23df0d Add provider position field to ws_meta and view Teemu Ollakka 2022-03-22 17:43:52 +02:00
  • 53e60f64c9 Reset TOI meta after releasing total order in provider Teemu Ollakka 2022-03-19 14:45:57 +02:00
  • bccb9997f2 Fixed id ostream operator to print human readable ids Teemu Ollakka 2022-01-03 11:19:58 +02:00
  • 6d0b37daaf Silence unused variable warning Teemu Ollakka 2021-12-15 16:37:45 +02:00
  • 4b8616f3d1 Fix provider loading in test for release builds Denis Protivensky 2021-12-15 16:43:31 +03:00
  • 6df17812d9 Introduce set_provider_factory() method for server_state Denis Protivensky 2021-12-14 20:28:56 +03:00
  • 940ba9bd0e Fix escape_json() compilation error due to type limits check Teemu Ollakka 2023-01-23 11:08:32 +02:00
  • 275a0af8c5 Return error codes instead of throwing exception Teemu Ollakka 2023-01-16 17:34:47 +02:00
  • de3d7b63ea Add report_event() method into reporter object report-events Teemu Ollakka 2022-09-08 14:21:22 +03:00
  • f8ff2cfdd4 Remove unnecessary include directives from the public interface Daniele Sciascia 2022-10-13 09:12:18 +02:00
  • 2db35f8f6c MDEV-29512 deadlock between commit monitor and THD::LOCK_thd_data mutex sjaakola 2022-11-08 17:00:53 +02:00
  • f3c8392ea8 Removed SR store implementation detail from wsrep-lib 10.7-sr-speedup-cleanup Teemu Ollakka 2022-09-28 17:30:39 +03:00
  • b5bddfe4db Fix warnings when -Wextra-semi is enabled Daniele Sciascia 2022-09-20 11:47:43 +02:00
  • 6caf006214 Minor tweaks to boost library detection Teemu Ollakka 2022-09-19 12:35:03 +03:00
  • 453b81c6a7 Provider options module Teemu Ollakka 2021-02-09 15:17:12 +02:00
  • a44484e461 This is the first version of the SR speedup feature for MariaDB 10.7. 10.7-sr-speedup Pekka Lampio 2021-05-17 10:36:17 +03:00
  • 344544df3e Check for a valid provider instead of connection state in server_state::set_encryption_key() Alexey Yurchenko 2022-08-15 14:48:03 +03:00
  • 5d66ce8a4e Operation context pointer for client state grp Teemu Ollakka 2022-07-13 10:31:03 +03:00
  • 7075524dc0 Add unit test log in gitignore Teemu Ollakka 2022-07-04 09:03:23 +03:00
  • 00e43e7be0 Added convenience method prev() to seqno Teemu Ollakka 2022-05-08 12:45:36 +03:00
  • b3f0e05da4 Pass victim context for provider on BF abort Teemu Ollakka 2022-05-01 16:37:24 +03:00
  • bfc5a8f6ee Handle disconnecting state in on_sync() Teemu Ollakka 2022-05-25 07:39:43 +03:00
  • 8bfce04189 Fix cleanup for non-prepared XA transactions Daniele Sciascia 2022-04-08 14:44:22 +02:00
  • 7498ed424a Add provider position field to ws_meta and view Teemu Ollakka 2022-03-22 17:43:52 +02:00
  • 51e162d6f4 Reset TOI meta after releasing total order in provider Teemu Ollakka 2022-03-19 14:45:57 +02:00
  • 23fb862462 Fix spelling of 'initialize in error message Otto Kekäläinen 2022-03-02 18:05:14 -08:00
  • 63346153ac Fixup error handling on fragment removal Daniele Sciascia 2022-01-28 12:23:14 +01:00
  • 88c3b2609d Revert "Fix fragment removal on rollback" Daniele Sciascia 2022-01-26 16:50:52 +01:00
  • edd141127c Handle assert server_id_.is_undefined == false Daniele Sciascia 2022-01-25 14:38:28 +01:00
  • da5098b622 Fix fragment removal on rollback Daniele Sciascia 2022-01-20 16:49:06 +01:00
  • 313d7d2437 Enable DBMS initialization from applying codepath init-on-apply Teemu Ollakka 2021-06-11 12:54:23 +03:00
  • e372dcbecb Fixed id ostream operator to print human readable ids Teemu Ollakka 2022-01-03 11:19:58 +02:00
  • 8c7a003761 added new transaction state: s_waiting_for_replayers to make it posisble to diagnose from outside, if potential BF victim transaction is blocked in replayer wait loop (before entering commit phase). Also, added new forced state change to s_must_abort, if before_rollback() is used for a transaction in s_committing state. Such situation can happen, if BF abort happens for a victim, which has passed certification and moved to commit phase before the BF aborting happens. replaying_wait_state sjaakola 2021-10-01 12:11:29 +03:00
  • 5754f2a0a0 Silence unused variable warning Teemu Ollakka 2021-12-15 16:37:45 +02:00
  • f7c8c22ad3 Fix provider loading in test for release builds Denis Protivensky 2021-12-15 16:43:31 +03:00
  • 9bd26d49c5 Introduce set_provider_factory() method for server_state Denis Protivensky 2021-12-14 20:28:56 +03:00
  • 6fd1fdf690 Use dedicated call and progress event for progress reporting in status reporter interface. progress-event Alexey Yurchenko 2021-12-06 00:02:25 +02:00
  • 4565f7232f Define event consumption interface for the application side event service implementation. Implement event pass-through to the applicaiton. Alexey Yurchenko 2021-11-14 21:54:12 +02:00
  • 13442a04d8 Assert transaction is active before appending keys and data Daniele Sciascia 2021-12-02 14:58:46 +01:00
  • 14b3612a30 Initial allowlist support mkaruza 2021-11-08 15:01:06 +01:00
  • 8f59e7b30b 1. Never transition from s_donor directly to s_synced, always wait for SYNCED event as expected. 2. Fix transition to s_joined only after we have a complete state. Complete state is reached in the following 3 cases: - SST seqno exceeds connected seqno - view seqno equals connected seqno (view processed == view connected) - current state is s_donor Alexey Yurchenko 2021-11-28 23:06:39 +02:00
  • 31a35bf573 Remove obsolete wsrep::server_state::last_committed_gtid() method Alexey Yurchenko 2021-11-29 20:25:18 +02:00
  • bef2c93a6d Minor logging cleanups (missing newlines) Alexey Yurchenko 2021-11-28 23:07:00 +02:00
  • a921a4f579 Clean up last_committed_gtid() which is not used anywhere cleanup-last_committed_gtid Teemu Ollakka 2021-11-29 15:05:04 +02:00
  • d48122a1fa Introduced macro to silence implicit-fallthrough warning Teemu Ollakka 2021-11-10 20:07:59 +02:00
  • 9db81de8df Assert server_id.is_undefined() == false failed in certify_fragment() unknown_xid Daniele Sciascia 2021-11-12 15:17:24 +01:00
  • 4bbb694691 Improve error handling of transaction::commit_or_rollback_by_xid() Daniele Sciascia 2021-11-11 11:13:16 +01:00
  • 3f79d4390c Updated wsrep API submodule to the latest version (event service spec) Alexey Yurchenko 2021-11-11 22:46:20 +02:00
  • e2b3e99c2f Fix workflow/actions submodule handling Teemu Ollakka 2021-11-12 10:02:55 +02:00
  • 7a28f49506 Wait until rollbacker finishes before closing local client Teemu Ollakka 2021-09-08 12:28:19 +03:00
  • 78e1752117 Add mark_transaction_pa_unsafe() to client_state. 10.6-sr-speedup Pekka Lampio 2021-10-25 17:55:05 +03:00
  • 2e226600fa Removed debug code (Code behind #ifdef DEBUG_SR_SPEEDUP). Pekka Lampio 2021-10-22 15:08:19 +03:00
  • b03a0b19a2 Disable SR debug printouts in the compilation. Pekka Lampio 2021-09-02 12:13:03 +03:00
  • 22921e7082 Cache rollback events that failed to replicate for later retry Daniele Sciascia 2021-09-24 10:45:34 +02:00
  • efb4aab090 Fixup to previous commit. Since dbsim implies that logger function is static and global, it cannot use the reporter object, which must be a non-static member of server class. Alexey Yurchenko 2021-09-11 22:50:20 +03:00
  • 7d6641764b Replay prepared transactions found BFed after prepare Daniele Sciascia 2021-08-12 10:56:00 +02:00
  • 4f1c201c9d Initial implementation of the status interface reporter object. Alexey Yurchenko 2021-08-06 15:34:06 +03:00
  • 0151e98802 Assertion transaction.is_streaming() in wsrep::transaction::adopt() Daniele Sciascia 2021-09-02 13:22:45 +02:00
  • fb86776354 Drop Ubuntu 16.04 environment from github build workflow Daniele Sciascia 2021-08-16 14:02:51 +02:00
  • b5f2db2c9c Add sr_state_ in wsrep::transaction. Add debug messages. Pekka Lampio 2021-07-12 16:23:42 +03:00
  • c45b1eff94 Remove method transaction::clear_fragments() Daniele Sciascia 2021-07-06 11:23:38 +02:00
  • 209c214fc6 Make git ignore files generated by dgcov Teemu Ollakka 2021-06-14 21:30:38 +03:00
  • 0304aa85c7 Fix pa_unsafe flag in transaction::commit_or_rollback_by_xid() Daniele Sciascia 2021-06-09 17:40:43 +02:00
  • cad03e903c Add debug printouts. Pekka Lampio 2021-05-28 21:54:18 +03:00
  • 85b8150321 fix for: allowing application to set transaction as PA unsafe sjaakola 2021-05-21 09:15:45 +03:00
  • 8884de3503 allowing application to set transaction as PA unsafe sjaakola 2021-05-19 12:40:22 +03:00
  • 434b52c75f This is the first version of the SR speedup feature for MariaDB 10.6. Pekka Lampio 2021-05-17 10:36:17 +03:00
  • 608ee82b26 allowing application to set transaction as PA unsafe sjaakola 2021-05-14 14:56:02 +03:00
  • 4225ee526b The changes: * Removed WITH_WSREP_SR_SPEEDUP_REPLAY and DEBUG_SR_SPEEDUP_REPLAY * Added "--wsrep_SR_store=undolog" for enabling SR speedup * Modified MTR tests "galera_sr.GCF-572" and "galera_sr.galera_sr_cc_master" * Improved the code that removes unneeded fragments from binlog_fragment_cache. 10.5-sr-speedup Pekka Lampio 2021-05-10 13:54:41 +03:00
  • f271ad0c6e Reset client_state toi_mode to m_undefined after RSU Teemu Ollakka 2021-04-08 17:08:04 +03:00
  • df55a53c35 The changes: * Now the rollback of InnoDB SR transactions is not always skipped. Pekka Lampio 2021-03-10 18:13:09 +02:00
  • 3909de3d67 The changes: * merged most of Seppo's changes by hand * enabled the replay of SR speedup feature * changed how binlog_cache is retrieved for SR speedup * moved set_fragments_from_table() to Wsrep_schema::recover_sr_transactions() * improved handling the "wsrep_is_sr" flags Pekka Lampio 2021-03-08 18:58:02 +02:00
  • 9318a50d18 Wsrep TLS service Teemu Ollakka 2020-06-26 15:28:25 +03:00
  • c487d11f86 Changes: Pekka Lampio 2021-02-23 18:52:40 +02:00
  • a866ce7107 The initial version of the SR speedup feature. This version contains many debug messages and does not work very well. Pekka Lampio 2021-02-05 18:52:50 +02:00
  • a12b814270 Fix various spelling errors Otto Kekäläinen 2020-03-04 18:53:34 +02:00
  • ebbf947ea6 Signed contributor agreement Daniele Sciascia 2021-02-03 10:04:42 +01:00
  • 435f475f39 Signed contributor agreement mkaruza 2021-02-03 09:10:57 +01:00
  • 2fdfe0fa50 Signed contributor agreement sjaakola 2021-02-02 11:41:55 +02:00
  • eeecdaa3e0 Signed CONTRIBUTOR AGREEMENT Alexey Yurchenko 2021-02-01 19:34:35 +02:00
  • 2d7789dcd3 add contributor line Leandro Pacheco 2021-02-01 14:23:19 -03:00
  • 8d48ab9539 Contributor License Agreement Teemu Ollakka 2021-02-01 19:04:46 +02:00
  • a93955ddee Introduce non-locking variant of client_state::cleanup() Teemu Ollakka 2020-12-29 14:32:28 +02:00
  • 515ac816f9 Add prefix argument to logger callback. Refs codership/wsrep-lib#148 Alexey Yurchenko 2020-12-11 12:24:33 +02:00
  • dcf3ce91cd Use --output-on-failure on ctest Daniele Sciascia 2020-11-27 10:50:17 +01:00
  • ff94dfd8a7 Handle the possibility of client command that cannot return results Teemu Ollakka 2020-10-29 15:26:12 +02:00
  • 85ad715209 Move from Travis CI to GitHub Actions Teemu Ollakka 2020-11-25 16:16:48 +02:00
  • 41a6e9dad7 Address review comments Daniele Sciascia 2020-10-28 14:37:46 +01:00
  • 3f449c6318 Remove calls to client_service::will_replay() Daniele Sciascia 2020-10-27 09:40:42 +01:00
  • a2221567ab Fix memory leaks in transaction_test_xa unit tests Daniele Sciascia 2020-10-05 10:53:44 +02:00
  • 6752a4504f Address review comments Daniele Sciascia 2020-09-30 17:48:53 +02:00
  • 39e37d3a39 Fix BF abort one phase XA transactions Daniele Sciascia 2020-07-10 10:41:40 +02:00
  • 588166e183 Add debug logging to transaction::commit_or_rollback_by_xid Daniele Sciascia 2020-06-26 16:25:04 +02:00
  • 0172d0fe4f Remove unused debug sync point Daniele Sciascia 2020-06-10 14:50:59 +02:00
  • b12bbd059c Support for replaying prepared XA transactions Daniele Sciascia 2020-06-05 11:40:18 +02:00
  • 965642eded Support for detaching prepared XA transactions Daniele Sciascia 2020-03-25 15:40:24 +01:00
  • 2da6e4894e Unnecessary adopt/start transaction in rollback_fragment() Daniele Sciascia 2020-10-08 11:10:43 +02:00
  • 7245db4704 Enable -Wsuggest-override if supported by the compiler. Teemu Ollakka 2020-10-22 17:31:21 +03:00
  • d1482feb32 Ensure that client_service::will_replay() is called. Teemu Ollakka 2020-10-19 06:12:17 +03:00
  • ec767cd3f0 Ostream operator for key type for better readability. Teemu Ollakka 2020-10-19 05:31:20 +03:00