1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
eae18a1bca remove has_error arg from begin_nbo_phase_two 2019-09-17 16:52:29 -03:00
decaa9b8f9 fix compilation of unit tests 2019-09-17 11:39:10 -03:00
1bff5bed63 Fixed NBO unit tests. 2019-09-13 12:48:21 +03:00
256b935bc0 handle nbo apply eror
also, remove outdated comment
2019-09-04 14:56:43 +03:00
7082d8f104 error parameter to nbo calls and m_undefined for toi_mode
toi_mode is set only when actually inside phase one and two.
In between it goes back to m_undefined.
2019-09-04 14:56:43 +03:00
74e2641e1e NBO begin error handling, unit test 2019-09-04 14:56:43 +03:00
395f716014 NBO applying
- High priority interface method to apply NBO begin, separate from
  apply_toi() in order to avoid implementation to force interpreting
  ws_meta flags.
- Method to put client_state into NBO mode when applying NBO begin.
  The client_state will process in m_local mode.
- Unit tests for applying NBO
2019-09-04 14:56:43 +03:00
ef448e2f63 save 2019-09-04 14:56:43 +03:00
946eb4121d Implementation of client_state NBO operations.
- Implemented calls to enter and leave NBO phase one and two
- Extended client_state mode checking to include m_nbo
- Changed client_state state and mode change sanity checks to
  print a warning and assert() instead of throwing exceptions
  to be more graceful in release builds.
2019-09-04 14:56:43 +03:00
53d71b29ea Save 2019-09-04 14:56:43 +03:00