mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-31 18:24:25 +03:00
* Moved causal reads/gtid wait into server state interface
* Changed undefined seqno to be defined as -1
This commit is contained in:
@ -232,7 +232,7 @@ namespace wsrep
|
||||
virtual int desync() = 0;
|
||||
virtual int resync() = 0;
|
||||
|
||||
virtual int pause() = 0;
|
||||
virtual wsrep::seqno pause() = 0;
|
||||
virtual int resume() = 0;
|
||||
|
||||
// Applier interface
|
||||
@ -277,6 +277,14 @@ namespace wsrep
|
||||
virtual enum status replay(
|
||||
const wsrep::ws_handle& ws_handle, void* applier_ctx) = 0;
|
||||
|
||||
/**
|
||||
* Perform a causal read on cluster.
|
||||
*
|
||||
* @param timeout Timeout in seconds
|
||||
*
|
||||
* @return Provider status indicating the result of the call.
|
||||
*/
|
||||
virtual enum wsrep::provider::status causal_read(int timeout) const = 0;
|
||||
virtual int sst_sent(const wsrep::gtid&, int) = 0;
|
||||
virtual int sst_received(const wsrep::gtid&, int) = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user