Teemu Ollakka
c0c977f9ab
Added GPLv2 licence and copyright headers.
2018-10-15 15:14:22 +03:00
Teemu Ollakka
272de0c6af
Removed dead code
2018-10-03 13:13:06 +03:00
Alexey Yurchenko
31f244c3b3
Fixed compilation on Ubuntu 18.04 / GCC 7.3.0
2018-10-02 21:41:14 +03:00
Teemu Ollakka
b02200b1ef
Fixes to streaming rollback
...
* Check fragment removal error code in prepare phase. It is possible
that the transaction gets BF aborted during fragment removal.
* Mark fragment certified in certify_fragment() even if the provider
returns cert failed error. With current wsrep-API error codes
it may not be possible to distinquish certification failure
and BF abort during fragment replication. This may also be a
provider bug. As a result rollback fragment may sometimes be
replicated when it would not be necessary.
2018-07-17 14:34:24 +03:00
Teemu Ollakka
2ac13100f7
Refactored storage service out of client service interface.
2018-07-07 18:06:37 +03:00
Teemu Ollakka
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.
2018-07-06 15:42:03 +03:00
Teemu Ollakka
635eaf4c29
Refactored high priority service out of client service.
2018-07-02 18:22:24 +03:00
Teemu Ollakka
658a84a7d4
Fixed BF abort in sync rollback mode.
...
* Pass condition variable for client_state
* Notify all cond waiters when changing the transcation status to
aborted
* Wait for aborting transaction state aborted in before_command
2018-07-02 10:09:48 +03:00
Teemu Ollakka
4e152ee79d
* Added applier side TOI commit order enter and leave
...
* Added cleanup_transaction() method to client_service in order to
provide a way to make DBMS side cleanup when transaction
is cleaned up
2018-06-25 14:09:19 +03:00
Teemu Ollakka
cad9176474
TOI replicating and applying codepaths
2018-06-25 09:28:51 +03:00
Teemu Ollakka
779f84e5df
Made client_service, transaction independent of provider.
...
Provider may not be loaded when client_service and
transaction are constructed.
2018-06-19 14:54:58 +03:00
Teemu Ollakka
0e4c7f16a9
Pass ws_handle as const reference to provider replay()
2018-06-19 09:36:15 +03:00
Teemu Ollakka
60fb119fa1
Cleaned up client_state interface.
2018-06-18 18:55:38 +03:00
Teemu Ollakka
ef5751943d
Refactored most of the server_state interface into server_service
...
abstract interface.
2018-06-18 16:52:41 +03:00
Teemu Ollakka
03043d3f25
Removing client_state dependency from client_service.
2018-06-18 10:21:02 +03:00
Teemu Ollakka
ef4baa9f9d
Renamed server_context to server_state.
2018-06-17 10:07:48 +03:00
Teemu Ollakka
790c2bec4e
Renamed transcation_context to transaction
2018-06-17 10:04:00 +03:00
Teemu Ollakka
dd28b173ab
Renamed client_context to client_state.
2018-06-17 10:00:13 +03:00