mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
better error handling for NBO failures
when losing error voting: - if NBO has failed locally (DBMS side), don't override original DBMS error so it gets reported to the client - otherwise, report "query interrupted" instead of "error during commit"
This commit is contained in:
committed by
Teemu Ollakka
parent
b63e753aec
commit
3389b7ad3c
@ -790,10 +790,12 @@ namespace wsrep
|
||||
* passed to begin_nbo_phase_one().
|
||||
*
|
||||
* @param keys Key array.
|
||||
* @param has_error True if client thread has errored.
|
||||
* @param wait_until Time point to wait until for entering TOI for
|
||||
* phase two.
|
||||
*/
|
||||
int begin_nbo_phase_two(const wsrep::key_array& keys,
|
||||
bool has_error,
|
||||
std::chrono::time_point<wsrep::clock>
|
||||
wait_until =
|
||||
std::chrono::time_point<wsrep::clock>());
|
||||
|
Reference in New Issue
Block a user