1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-05-11 01:21:29 +03:00

10 Commits

Author SHA1 Message Date
Teemu Ollakka
b054c7320c Assert that fragmen seqno is not undefined. Added debug crash points. 2018-07-16 16:50:49 +03:00
Teemu Ollakka
9f153be277 Fixes to streaming rollback processing
* Count separately fragments certified and fragments stored in
  streaming context. Storing the fragment may ultimately fail
  due to BF abort even if the fragment was succesfully certified.
  Therefore we need to have separate counter for certified fragments
  to determine if the transaction is streaming and seqnos of fragments
  which have been succesfully stored.
* Provider release is called only after succesful fragment certification
  and fragment store.
* Fixed handling of write sets with rollback flag set in apply_write_set()
2018-07-16 10:07:46 +03:00
Teemu Ollakka
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
Teemu Ollakka
d564a6f154 Included necessary files to get streaming_context.hpp compile
standalone.
2018-07-11 13:36:52 +03:00
Teemu Ollakka
d03736c4c3 Changed default streaming unit to bytes. 2018-07-10 14:36:17 +03:00
Teemu Ollakka
6f68c70d37 Interface changes required to store and remove fragments from high
priority context.
2018-07-09 18:12:48 +03:00
Teemu Ollakka
7c424d8337 Fixes to local streaming replication processing. 2018-07-08 15:27:49 +03:00
Teemu Ollakka
2913aecebd Pass transaction id instead of client id to storage service append_fragment() 2018-07-07 21:34:58 +03:00
Teemu Ollakka
8f0e112c47 Renamed invalid to undefined. More utility functions. 2018-06-21 16:50:44 +03:00
Teemu Ollakka
3cd7a11cb2 Extracted streaming_context into separa teclass 2018-06-13 16:59:25 +03:00