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

Commit Graph

  • 76335a3042 Added test case for desync-pause-resume-resync. Teemu Ollakka 2018-12-19 15:28:09 +02:00
  • 728eaa80b5 Added test cases for donor transitions. Teemu Ollakka 2018-12-19 15:19:05 +02:00
  • e5e5d409ed Test case for init first succesfull SST. Teemu Ollakka 2018-12-19 14:57:46 +02:00
  • a4ea80e11a Added test cases for error/shutdown in joined and donor states. Teemu Ollakka 2018-12-19 14:43:16 +02:00
  • 7cd0656990 Allow server_state joiner - disconnecting transition. Teemu Ollakka 2018-12-19 14:30:19 +02:00
  • e81c66cd59 Fixed assertion on server_state connected - disconnecting transition Teemu Ollakka 2018-12-19 13:53:02 +02:00
  • 1776537765 codership/wsrep-lib#34 Handle sync-disconnected-sync for init first Teemu Ollakka 2018-12-14 17:31:18 +02:00
  • ae0109f9b3 codership/wsrep-lib#34 Refactored view handling Teemu Ollakka 2018-12-14 13:14:26 +02:00
  • 76424ad515 codership/wsrep-lib#34 Unit test for sync-disconnect-sync Teemu Ollakka 2018-12-14 13:03:37 +02:00
  • bf83907f38 codership/wsrep-lib#34 Moved cluster_id, bootstrap_view into base fixture Teemu Ollakka 2018-12-14 10:50:13 +02:00
  • 1be3ef9529 Expose to_c_string() function for wsrep::view::status Daniele Sciascia 2018-12-19 16:00:31 +01:00
  • 452da3da8c Removed GTID stdout output mkaruza 2018-12-20 08:39:54 +01:00
  • 05013c8d44 Support for UPDATE certification key type. Alexey Yurchenko 2018-11-25 14:31:16 +02:00
  • 36dbb37645 codership/wsrep-lib#35 Rewrote member_index() to use iterators Teemu Ollakka 2018-12-15 13:46:42 +00:00
  • 80dcf4b6d2 codership/wsrep-lib#35 Fixed compilation on 32-bit platform Teemu Ollakka 2018-12-15 12:44:59 +00:00
  • 256cd6ae60 codership/wsrep-lib#32 Allow transient desync errors in desync_and_pause() Teemu Ollakka 2018-12-13 13:04:41 +02:00
  • 21781f6644 Improved SST diagnostic logging ctas Alexey Yurchenko 2018-11-30 07:03:28 +02:00
  • 0f77323d0e Refs codership/wsrep-lib#18 Don't recover view from state if SST failed. Alexey Yurchenko 2018-11-27 21:00:33 +02:00
  • cb93aaa77b Lost e_error_during_commit if fragment size exceeds maximum size Daniele Sciascia 2018-11-30 15:55:36 +01:00
  • 8f490d431a Undefined server id in convert_streaming_client_to_applier() Daniele Sciascia 2018-12-03 22:36:24 +01:00
  • db71eb0fb6 codership/wsrep-lib#29 non-active transaction abort non-active-abort sjaakola 2018-12-03 11:50:48 +02:00
  • fd07ff12e4 Refs codership/wsrep-API#21 added support for the IMPLICIT_DEPS WS flag Alexey Yurchenko 2018-11-22 17:16:28 +02:00
  • 8ffad51822 Fixed the definition of the encryption callback Alexey Yurchenko 2018-11-22 17:23:30 +02:00
  • cfcf34e70f codership/wsrep-lib#23 before_command() wait for ongoing rollbacks leaks sjaakola 2018-11-24 15:14:26 +02:00
  • 31f09ca4aa Refs codership/wsrep-lib#18 Fix compile warning Daniele Sciascia 2018-11-24 13:42:53 +01:00
  • 3950ea3027 Refs codership/wsrep-lib#18 Small fixups Alexey Yurchenko 2018-11-23 16:46:38 +02:00
  • d95ec7ed99 Refs codership/wsrep-lib#18: Fixup to proper view from SST processing. Alexey Yurchenko 2018-11-23 13:11:20 +02:00
  • a7a6441ee9 Avoid client_state locking while in storage service scope Daniele Sciascia 2018-11-20 16:39:45 +01:00
  • fb14883547 Recover current view from state after SST. Alexey Yurchenko 2018-11-11 21:59:24 +02:00
  • c7e8bfbdb5 codership/wsrep-lib#13 Fix dbsim to deal with provider generated server id Teemu Ollakka 2018-11-06 18:14:37 +02:00
  • ea9971d54b - Initialize member cluster ID only on connection to cluster and forget it on disconnect. - Don't rely on own index from the view because the view may come from another member (IST/SST), instead always determine own index from own ID. Alexey Yurchenko 2018-11-06 15:21:48 +02:00
  • a942811ce7 User defined logger callback implementation Teemu Ollakka 2018-11-07 21:42:28 +02:00
  • d4efa598bb Added is_empty() method to transaction class Teemu Ollakka 2018-10-26 11:47:44 +03:00
  • 5391de0474 Relaxed assertion in sr_key_set::insert() Teemu Ollakka 2018-10-25 13:57:57 +03:00
  • 4ee624cfbc Tweaks to travis configuration and cmake Teemu Ollakka 2018-10-24 16:05:39 +03:00
  • b322a3a45c Cleaned up obsolete methods Teemu Ollakka 2018-10-24 15:50:13 +03:00
  • 9fccd8e1ee Travis CI configuration file Teemu Ollakka 2018-10-24 10:55:01 +03:00
  • 1c0a82f5b1 Typo fixes in server_state.hpp Daniele Sciascia 2018-10-24 09:25:22 +02:00
  • ed7c4d7410 Add prepare flag to wsrep::provider::flag Daniele Sciascia 2018-10-24 09:23:36 +02:00
  • cf434f3da5 Fix make test Daniele Sciascia 2018-10-19 10:49:04 +02:00
  • 435b589ff5 Merge branch 'master' into deadlock-warnings sjaakola 2018-10-17 17:09:05 +03:00
  • cb1ca4e66e Rollback and release streaming appliers in unit tests Teemu Ollakka 2018-10-17 12:51:01 +03:00
  • a9abb3a80a Extracted mock_server_service out of mock_server_state. Teemu Ollakka 2018-10-17 12:07:02 +03:00
  • 7c6ee3f61f In order to avoid potential deadlocks, release client_state lock when calling server state methods which may acquire server_state mutex. Teemu Ollakka 2018-10-15 10:14:04 +03:00
  • c0c977f9ab Added GPLv2 licence and copyright headers. Teemu Ollakka 2018-10-15 12:29:19 +03:00
  • 2f8b0cdac4 Cleaned up README to contain only introduction and build instructions. Teemu Ollakka 2018-10-15 12:28:23 +03:00
  • 5e5906d598 Prefixed cmake WITH_ definitions with WSREP_LIB_ to avoid collisions with superproject definitions. Teemu Ollakka 2018-10-12 15:55:31 +03:00
  • 94174b06e6 codership/galera-bugs#165 Update to wsrep encryption API mkaruza 2018-10-11 10:27:34 +02:00
  • 272de0c6af Removed dead code Teemu Ollakka 2018-10-03 13:13:06 +03:00
  • 31f244c3b3 Fixed compilation on Ubuntu 18.04 / GCC 7.3.0 Alexey Yurchenko 2018-10-02 21:38:28 +03:00
  • 0d2a265edc Update README.md Alexey Yurchenko 2018-10-02 19:53:04 +03:00
  • 5bf8ad1294 Close SR transactions when disconnecting from the group. Moved SR fragment removal for total order BFd SR transactions into after_rollback() call to avoid deadlocking while trying to access storage before rolling back the transaction. Teemu Ollakka 2018-07-19 15:13:27 +03:00
  • 61e0e30687 Remove fragments in before rollback for streaming transactions which got BF aborted in total order. Teemu Ollakka 2018-07-19 13:52:12 +03:00
  • 0410deee3a Fixes to streaming rollback. Teemu Ollakka 2018-07-19 01:11:02 +03:00
  • ca5c24655f Fixes to SR transaction processing Teemu Ollakka 2018-07-17 15:23:53 +03:00
  • b02200b1ef Fixes to streaming rollback Teemu Ollakka 2018-07-17 14:34:24 +03:00
  • b054c7320c Assert that fragmen seqno is not undefined. Added debug crash points. Teemu Ollakka 2018-07-16 16:50:49 +03:00
  • 0efec1b8bd Added debug_crash() method to high priority service interface. Teemu Ollakka 2018-07-16 12:45:53 +03:00
  • 4418627f1b Fixed a condition to remove SR appliers during view change. Teemu Ollakka 2018-07-16 11:15:24 +03:00
  • 9f153be277 Fixes to streaming rollback processing Teemu Ollakka 2018-07-16 10:07:46 +03:00
  • 21ae2c849e Pass pointer to high priority service as a parameter for log_view() Teemu Ollakka 2018-07-15 19:00:10 +03:00
  • 86472ee420 Implemented SR transaction rollbacking during configuration changes. Teemu Ollakka 2018-07-14 16:11:13 +03:00
  • 13487781d8 Total order BF abort client_state method to differentiate BF aborts caused by conflicts between transactions and conflicts between TOI operations and transactions. Teemu Ollakka 2018-07-13 18:33:22 +03:00
  • 4cfb9b6413 Introduced adopt_transaction() for storage_service interface Teemu Ollakka 2018-07-13 15:36:27 +03:00
  • 22d7a31d81 Fixes to SR rollback: Teemu Ollakka 2018-07-12 18:00:52 +03:00
  • 3f4e5dea3b Revised logic to handle SR replaying Teemu Ollakka 2018-07-12 13:36:45 +03:00
  • ddc6c6495b Made client_id, transaction_id constructors explicit. Teemu Ollakka 2018-07-11 15:00:31 +03:00
  • d564a6f154 Included necessary files to get streaming_context.hpp compile standalone. Teemu Ollakka 2018-07-11 13:36:52 +03:00
  • 3b9e9e0d0c SR Rollback handling fixes Teemu Ollakka 2018-07-11 11:39:55 +03:00
  • d03736c4c3 Changed default streaming unit to bytes. Teemu Ollakka 2018-07-10 14:36:17 +03:00
  • 80ca03daaf Implemented SR transaction rollback. Teemu Ollakka 2018-07-10 14:01:41 +03:00
  • e916453e6d Enabled Wnon-virtual-dtor Teemu Ollakka 2018-07-09 23:03:44 +03:00
  • 8c4a786f79 Collect and append SR commit keys. Teemu Ollakka 2018-07-09 20:16:31 +03:00
  • 6f68c70d37 Interface changes required to store and remove fragments from high priority context. Teemu Ollakka 2018-07-09 18:12:48 +03:00
  • 958a916b25 * Don't set ordering meta data for replaying transaction * Renamed transaction prepare_for_fragment_ordering() to prepare_for_ordering() Teemu Ollakka 2018-07-09 13:23:16 +03:00
  • 6aa6b6f50a Provider write set handle and meta data for high priority commit Teemu Ollakka 2018-07-09 13:02:13 +03:00
  • 8a1e76bcec Execution context switching for high priority service. Teemu Ollakka 2018-07-09 11:35:20 +03:00
  • 95dbab4c08 Made transaction streaming context private and provided accessor method. Teemu Ollakka 2018-07-09 08:49:29 +03:00
  • 7c424d8337 Fixes to local streaming replication processing. Teemu Ollakka 2018-07-08 15:27:49 +03:00
  • 2913aecebd Pass transaction id instead of client id to storage service append_fragment() Teemu Ollakka 2018-07-07 21:34:58 +03:00
  • 178f70d3be Fixed compilation error. Teemu Ollakka 2018-07-07 18:08:30 +03:00
  • 2ac13100f7 Refactored storage service out of client service interface. Teemu Ollakka 2018-07-07 18:06:37 +03:00
  • a8be09161c Replaced replicating mode with local. Teemu Ollakka 2018-07-07 12:01:14 +03:00
  • af18a10a49 Removed is_autocommi() from client_service interface as it is not quite useful as there might not be enough information for it after the statement has been processed. Better to handle retrying on DBMS side. Also removed after_statement_result enumeration and return plain int from after_statement(). Teemu Ollakka 2018-07-06 19:48:48 +03:00
  • 3ff322386c Added must_exit boolean flag to high_priority_service interface Teemu Ollakka 2018-07-06 16:18:59 +03:00
  • e876418ed3 * Renamed client service rollback() to bf_rollback() to better describe its purpose. * Raise deadlock error for BF aborted transaction in after_statement() call if the error is not set yet. Teemu Ollakka 2018-07-06 15:42:03 +03:00
  • 5ef2c956a9 Added a separate call to notify the client thread about completion of background rollback. The separate call is necessary as all of the resources may not have been released before the execution reaches after_rollback() call and background rollbacker needs to notify the client thread after all is complete. Teemu Ollakka 2018-07-05 17:42:38 +03:00
  • d80a69fe90 Defined log_state_change() interface in server_service. Teemu Ollakka 2018-07-05 12:45:22 +03:00
  • fcefe9f03b Provide additional provider error status. Fixed IST handling. Teemu Ollakka 2018-07-05 11:31:47 +03:00
  • b3de50fa05 Implemented convenience methods to desync/pause, resume/resync. Teemu Ollakka 2018-07-04 18:12:42 +03:00
  • 2668d85ebf Set state to s_must_abort when cert results conn failed. Teemu Ollakka 2018-07-04 16:12:58 +03:00
  • a7f8728c12 After applying call, BF abort fixes Teemu Ollakka 2018-07-04 14:28:54 +03:00
  • 4d59ade77b Always call provider bf_abort for active transactions in transaction::bf_abort(). Teemu Ollakka 2018-07-04 08:39:20 +03:00
  • 622b6583a2 Ignore TOI applying errors for now. Teemu Ollakka 2018-07-03 21:29:35 +03:00
  • b9532e6497 Return provider status from set options. Teemu Ollakka 2018-07-03 16:33:14 +03:00
  • 4e8dfca3f1 Initial RSU implementation. Teemu Ollakka 2018-07-03 12:37:22 +03:00
  • c552d944ed Deprecated sst_transferred(), always use sst_received() Teemu Ollakka 2018-07-03 10:20:36 +03:00
  • e6d78c380d Pass ws_meta to high priority service apply_toi Teemu Ollakka 2018-07-03 08:58:25 +03:00
  • 3632e7823c Pass high_priority_service instead of void ptr for provider methods. Teemu Ollakka 2018-07-03 07:48:35 +03:00
  • 004244d203 Fixed dbsim SST issues. Teemu Ollakka 2018-07-02 19:17:38 +03:00