1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-31 18:24:25 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
db87cf7d9c Added timeout option to enter_toi_local() and begin_nbo_phase_one()
If timeout option is give, enter_toi_local() and begin_nbo_phase_one()
retry provider::enter_toi() as long as return status indicates
certification failure, given timeout expires or the client is interrupted.
2019-09-04 15:38:02 +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
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
795469401c Added unit test for TOI operations 2019-09-04 14:56:43 +03:00