1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-04-18 10:24:01 +03:00

Commit Graph

  • 8229d99154 MDEV-36551: Add interface to report wsrep state change in Galera wsrep_notify_state_change Jan Lindström 2025-04-04 12:35:55 +03:00
  • 7c7c3be62e Allow provider initialization even when connection monitor service is not supported by Galera library. master Jan Lindström 2025-04-10 18:12:49 +03:00
  • e55f01ce1e Fix compilation for gcc 4.8 Teemu Ollakka 2025-04-08 11:59:48 +03:00
  • db41d67c9c Retrieve provider options before provider is initialized provider_options_cb Daniele Sciascia 2025-02-28 15:42:08 +01:00
  • 97b0da6704 Pass callback to get provider options to provider_v26 constructor Teemu Ollakka 2025-02-19 13:31:52 +02:00
  • 324b01e431 MDEV-36422 Build fails with cmake 4.0.0 cmake-actions Teemu Ollakka 2025-04-02 15:42:13 +03:00
  • cd07c34996 Fix wsrep-API/v26 to point to v26 branch head Teemu Ollakka 2025-02-27 11:34:58 +02:00
  • b8e0540e7a MDEV-26851 : Add interface to monitor connections in Galera Jan Lindström 2024-08-08 10:46:55 +03:00
  • 815ae1637b MDEV-26851 : Add interface to monitor connections in Galera connection_monitor_service Jan Lindström 2024-08-08 10:46:55 +03:00
  • 5b58e6d35f Use ubuntu-22.04 for GitHub actions actions-deprecate-ubuntu-20.04 Teemu Ollakka 2025-02-11 19:28:26 +02:00
  • 2d7b357e60 Fix condition to treat an id as alphanumeric string Teemu Ollakka 2025-01-14 16:36:21 +02:00
  • 5ea78de6c2 Add support for custom provider implementation Teemu Ollakka 2025-01-13 16:06:28 +02:00
  • 51a0b0ab4f Fix boost download link Teemu Ollakka 2025-01-14 12:35:12 +02:00
  • 782dfe14a9 Don't treat primary view as final grp-11.5 Teemu Ollakka 2025-01-02 12:18:59 +02:00
  • fd1128622f Add method transaction::has_key() transaction_has_key Daniele Sciascia 2024-12-24 11:54:29 +01:00
  • 70cd967f5e Change github actions/cache to version 4 Teemu Ollakka 2024-12-11 07:47:49 +02:00
  • 5321c91e7c Assert bf_seqno is never undefined when passed to bf_abort() bf-seqno-defined Denis Protivensky 2024-12-02 14:06:42 +03:00
  • 7994288534 Check local sequential consistency in dbsim Teemu Ollakka 2024-11-28 12:33:21 +02:00
  • 3de594b662 Add application defined sequential consistency for certification Teemu Ollakka 2024-11-21 14:29:11 +02:00
  • c95d5932c9 Reduce transaction debug logging output reduce-trx-debug Teemu Ollakka 2024-11-16 20:32:09 +02:00
  • 1c61b809d1 MDEV-26266 Fix error handling around remove_fragments() Daniele Sciascia 2024-10-09 17:31:02 +02:00
  • 31db847676 MDEV-32363 Add interface to set node isolation mode in provider Teemu Ollakka 2024-04-18 15:02:42 +03:00
  • 664d8cc01e Fix reporter test compilation Teemu Ollakka 2024-05-17 16:09:54 +03:00
  • e399d53d04 Try actions gcc-11 on ubuntu 22.04, add gcc 13 and 14 on ubuntu 24.04 Teemu Ollakka 2024-05-17 15:59:57 +03:00
  • 4980861963 Use superproject BOOST_INCLUDE_DIR if set Teemu Ollakka 2024-05-14 16:27:44 +03:00
  • 6b879d46c8 Improve "Unallowed state transition" warning Daniele Sciascia 2024-04-25 15:37:47 +02:00
  • ce6b433818 Phase out the use of WSREP_KEY_SHARED key type in favour of WSREP_KEY_REfERENCE (but keep support for it for backward compatibility) The only place where wsrep-lib made use of WSREP_KEY_SHARED is wsrep::append_sr_keys_for_commit() which is used only with protocols >= 4 so we don't need to worry about the protocol version and just change wsrep:🔑:shared to wsrep:🔑:reference. phase-out-shared Alexey Yurchenko 2024-04-01 13:24:26 +03:00
  • dfc4bdb8a5 Do not abort prepared transaction when statement is interrupted Daniele Sciascia 2024-03-06 17:42:28 +01:00
  • 06b07fe940 Add a method to disable BF aborts for transaction commit-read-only Teemu Ollakka 2024-03-20 19:05:36 +02:00
  • 7d108eb870 Rename reported log_msg struct to log_msg_t Teemu Ollakka 2024-03-19 10:20:29 +02:00
  • fadce3720a Remove has_streaming_log() grp-11.0-squash Teemu Ollakka 2023-09-21 22:56:11 +03:00
  • 349a9e51db Implement wsrep:🆔:to_string() Teemu Ollakka 2023-09-21 12:51:46 +03:00
  • db7ddd0b11 Change wait_until_state() early disconnected check Teemu Ollakka 2023-09-21 11:59:26 +03:00
  • 13e9403eba Allow storage service implementation to run in client context Teemu Ollakka 2023-09-19 14:03:41 +03:00
  • 3d998f9ad6 Add provider streaming_log capability Teemu Ollakka 2023-09-18 20:47:13 +03:00
  • 26434e4fc8 Make recover_streaming_appliers_if_not_recovered() public Teemu Ollakka 2023-09-18 16:01:59 +03:00
  • a7ce22ac91 Fix crash close_orphaned_sr_transactions() BF abort Teemu Ollakka 2023-09-16 10:11:49 +03:00
  • bd1a5c25a9 Remove provider position from ws_meta and view Teemu Ollakka 2023-09-07 14:55:59 +03:00
  • 41fee48c9e Squashed commit of the following: Teemu Ollakka 2023-06-14 13:09:36 +03:00
  • 6a17207b7f Add method client_service::is_prepared_xa() Daniele Sciascia 2024-01-19 14:20:05 +01:00
  • 4f9b6d4739 Add method client_service::is_prepared_xa() MENT-2024 Daniele Sciascia 2024-01-19 14:20:05 +01:00
  • fc8e627815 Add method client_state::stream() remove-log-position Daniele Sciascia 2023-11-10 10:03:51 +01:00
  • 096b5c5c7a Remove tracking of log_position Daniele Sciascia 2023-11-10 10:00:26 +01:00
  • a5d95f0175 Fix dbsim thread instrumentation for main thread Teemu Ollakka 2023-10-27 11:30:00 +03:00
  • ffe1ba7a5d Fix use-after-free in wsrep::log Denis Protivensky 2023-10-17 13:53:11 +03:00
  • 07af42c052 Fix file descriptor leak Ref codership/wsrep-lib#219 Alexey Yurchenko 2023-10-09 19:37:37 +03:00
  • c62b1386c8 Remove provider position from ws_meta and view grp-11.0-remove-provider-position Teemu Ollakka 2023-09-07 14:55:59 +03:00
  • a2dbde5d80 Squashed commit of the following: Teemu Ollakka 2023-06-14 13:09:36 +03:00
  • 151d4f8591 Unlock client mutex when calling client_service::remove_fragments() Daniele Sciascia 2023-09-01 14:21:22 +02:00
  • 3b07ea039a Failed to insert streaming client warning after replay Daniele Sciascia 2023-09-01 10:16:33 +02:00
  • b6fa15be15 Unlock client mutex when calling client_service::remove_fragments() MDEV-32051 Daniele Sciascia 2023-09-01 14:21:22 +02:00
  • ee22efb630 Failed to insert streaming client warning after replay Daniele Sciascia 2023-09-01 10:16:33 +02:00
  • b65ec6d643 WIP: New wsrep-lib informative assert wsrep-lib-info-assert Jan Lindström 2023-08-31 08:02:43 +03:00
  • 173693f2ee Github actions: do sudo apt update before installing packages Daniele Sciascia 2023-07-17 15:41:24 +02:00
  • 62bd40800f Remove duplicate logic from after_statement Daniele Sciascia 2023-07-17 14:49:33 +02:00
  • 7dafce8403 Remove wrong assertion from transaction::cleanup() Teemu Ollakka 2023-05-26 13:35:31 +03:00
  • 9070f2a891 Change unit tests to mimic application behavior on replaying Teemu Ollakka 2023-05-26 12:47:47 +03:00
  • e238c0d240 Review fixes Teemu Ollakka 2023-05-16 19:16:55 +03:00
  • 0413441ca7 Improve WSREP provider error message if Galera library does not match Galera build better-provider-errors Jan Lindström 2023-05-11 13:35:15 +03:00
  • c458510b4b Attempting to reproduce assertion in transaction cleanup sr-BF-abor-fixes Teemu Ollakka 2023-05-11 10:51:02 +03:00
  • b76e94f84a Transaction not immune after becoming ordered for commit Teemu Ollakka 2023-04-25 08:45:46 +03:00
  • d2f27babd6 Add lock argument to server_service::background_rollback() Teemu Ollakka 2023-04-16 19:12:26 +03:00
  • e20e53fb1a Fixes according to review comments KILL_command sjaakola 2023-04-09 17:15:04 +03:00
  • 1cf5ca7848 Changed background_rollback to return true/false depending on if background rollback did happen. Background rollback should be skipped if the aborting happens due to KILL command issued by user. Some KILL signals, like KILL CONECTION, wake up the victim too early so that background rollback could happen in parallel with the victim waking up and continuing execution. sjaakola 2023-03-16 22:34:58 +02:00
  • f8a20ff00f Make is_rollbacker_active() public, don't unlock for background rollback Teemu Ollakka 2023-04-05 09:30:55 +03:00
  • 1d6cf196dc Extract before_rollback_local()/before_rollback_high_priority() trans-refact Teemu Ollakka 2023-04-04 15:02:16 +03:00
  • a36bae31d8 Extract before_prepare_local()/before_prepare_high_priority() Teemu Ollakka 2023-04-04 14:55:51 +03:00
  • 55a0bd6469 Extract before_commit_high_priority() Teemu Ollakka 2023-04-04 08:46:53 +03:00
  • 3132f7ee14 Extract before_commit_local() Teemu Ollakka 2023-04-04 08:43:35 +03:00
  • 4951c38357 Github Actions has removed ubuntu-18.04 Teemu Ollakka 2023-04-04 13:28:47 +03:00
  • 0f68da366e More strict check for read-only local-read-only Teemu Ollakka 2023-04-04 10:27:21 +03:00
  • 12c8069f09 Track commit states for read-only transactions Teemu Ollakka 2023-04-04 09:36:17 +03:00
  • 3115584c66 Mark transactions read-write by appending key in transaction tests Teemu Ollakka 2023-04-04 09:20:35 +03:00
  • 8f86ddf8ca Extract before_commit_high_priority() Teemu Ollakka 2023-04-04 08:46:53 +03:00
  • 908e4bc192 Extract before_commit_local() Teemu Ollakka 2023-04-04 08:43:35 +03:00
  • de2ead8d70 Support detach on transaction prepare detach-on-prepare Daniele Sciascia 2022-10-10 11:14:35 +02:00
  • 626c0b7b3b Fix -Winconsistent-missing-destructor-override warnings Teemu Ollakka 2023-03-30 13:28:55 +03:00
  • 66a8fa9b13 Add -Winconsistent-missing-destructor-override if compiler supports Teemu Ollakka 2023-03-30 13:03:43 +03:00
  • 94ea93a48d Add clang-13 into build matrix Teemu Ollakka 2023-03-29 18:14:43 +03:00
  • 5185ad3481 Grab lock after starting background rollback Teemu Ollakka 2023-03-17 16:24:56 +02:00
  • 69b9d7d464 Allow external locking for BF aborts Teemu Ollakka 2023-03-17 14:38:03 +02:00
  • 32d4275c60 Rollback storage service in case of errors while appending fragment Daniele Sciascia 2023-03-14 08:54:39 +01:00
  • 7e0ccfc1d4 Updated wsrep-API/v26 for ASAN instrumentation fix Teemu Ollakka 2023-03-02 08:44:56 +02:00
  • 9a35083730 Eliminated duplicate fragment removal code Teemu Ollakka 2023-03-02 08:39:37 +02:00
  • 241898af7e Postpone streaming_context cleanup into after_rollback() Teemu Ollakka 2023-03-02 08:38:19 +02:00
  • 19eaed587c Fix total order BF abort Teemu Ollakka 2023-03-02 08:24:44 +02:00
  • 7843345a19 Extracted duplicate logic into return_from_donor_state Teemu Ollakka 2023-02-28 16:20:18 +02:00
  • 5a943b66a7 Fix assertion unallowed state transition: connected -> joined Teemu Ollakka 2023-02-26 11:43:44 +02:00
  • 3b3429d8df Work around GCC 12 warning of uninitialized use Teemu Ollakka 2023-02-26 10:31:07 +02:00
  • 9e8708af7e Add GCC 12 into GitHup actions build matrix Teemu Ollakka 2023-02-26 10:06:39 +02:00
  • 53638a8384 Removing assert() calls from public headers Teemu Ollakka 2023-02-26 09:12:24 +02:00
  • 3b419aa6e2 Skip fetching config options if provider not loaded via wsrep-API grp-11.0 Teemu Ollakka 2023-02-19 10:29:34 +02:00
  • 044220cc06 Operation context pointer for client state Teemu Ollakka 2022-07-13 10:31:03 +03:00
  • eeb05a9238 Add unit test log in gitignore Teemu Ollakka 2022-07-04 09:03:23 +03:00
  • 92a04070fc Added convenience method prev() to seqno Teemu Ollakka 2022-05-08 12:45:36 +03:00
  • f83ca1917e Pass victim context for provider on BF abort Teemu Ollakka 2022-05-01 16:37:24 +03:00
  • 244eabe8cf Handle disconnecting state in on_sync() Teemu Ollakka 2022-05-25 07:39:43 +03:00
  • 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