fd07ff12e4
Refs codership/wsrep-API#21 added support for the IMPLICIT_DEPS WS flag
2018-11-28 18:07:08 +01:00
d4efa598bb
Added is_empty() method to transaction class
...
Method is_empty() can be determined if there have no been changes
to the transaction.
2018-10-26 11:48:59 +03:00
7c6ee3f61f
In order to avoid potential deadlocks, release client_state lock when
...
calling server state methods which may acquire server_state mutex.
Fixed compilation errors in release mode.
2018-10-15 16:35:19 +03:00
c0c977f9ab
Added GPLv2 licence and copyright headers.
2018-10-15 15:14:22 +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.
2018-07-13 18:33:22 +03:00
3f4e5dea3b
Revised logic to handle SR replaying
...
* Added server_id into transaction in order to be able to stop
streaming applier during high priority BF abort
* Added missing commit fragment applying
* Don't clear fragments for replaying SR transaction
2018-07-12 13:36:45 +03:00
80ca03daaf
Implemented SR transaction rollback.
2018-07-10 14:01:41 +03:00
8c4a786f79
Collect and append SR commit keys.
2018-07-09 20:16:31 +03:00
6f68c70d37
Interface changes required to store and remove fragments from high
...
priority context.
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()
2018-07-09 13:23:16 +03:00
95dbab4c08
Made transaction streaming context private and provided accessor method.
2018-07-09 08:49:29 +03:00
2ac13100f7
Refactored storage service out of client service interface.
2018-07-07 18:06:37 +03:00
a7f8728c12
After applying call, BF abort fixes
...
* Added after applying call for high priority threads in order to
avoid client mode complexity in after_statement() call and
make high prio transaction cleanup possible
* Mask connection failed error with deadlock error if provider
returns connection failed and the transaction was BF aborted
2018-07-04 14:28:54 +03:00
8f0e112c47
Renamed invalid to undefined. More utility functions.
2018-06-21 16:50:44 +03:00
3a8861b26b
* Moved causal reads/gtid wait into server state interface
...
* Changed undefined seqno to be defined as -1
2018-06-21 10:37:55 +03:00
ef0fb72b73
* Added size exceeded error code
...
* Return provider status from selected client_state calls
* Added more methods to provider interface
2018-06-20 19:44:20 +03:00
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
60fb119fa1
Cleaned up client_state interface.
2018-06-18 18:55:38 +03:00
cf231bdf2d
Refactored server_service out of server_state.
2018-06-18 17:45:24 +03:00
af3119a58b
Removed ostream include from public API headers.
2018-06-17 13:55:37 +03:00
ef4baa9f9d
Renamed server_context to server_state.
2018-06-17 10:07:48 +03:00
790c2bec4e
Renamed transcation_context to transaction
2018-06-17 10:04:00 +03:00