mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-18 14:02:16 +03:00
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.
This commit is contained in:
committed by
Teemu Ollakka
parent
0b12869715
commit
5298d2340e
@ -173,12 +173,14 @@ namespace wsrep
|
||||
*
|
||||
* @param ws_meta Write set meta data.
|
||||
* @param data Buffer containing the command to execute.
|
||||
* @params err Buffer to store error data
|
||||
*
|
||||
* @return Zero in case of success, non-zero if the asynchronous
|
||||
* process could not be started.
|
||||
*/
|
||||
virtual int apply_nbo_begin(const wsrep::ws_meta& ws_meta,
|
||||
const wsrep::const_buffer& data) = 0;
|
||||
const wsrep::const_buffer& data,
|
||||
wsrep::mutable_buffer& err) = 0;
|
||||
|
||||
/**
|
||||
* Actions to take after applying a write set was completed.
|
||||
|
Reference in New Issue
Block a user