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

Implemented client last_written_gtid, sync_wait

This commit is contained in:
Teemu Ollakka
2018-06-30 07:44:09 +03:00
parent 3d2af88428
commit db18e91c42
11 changed files with 138 additions and 12 deletions

View File

@ -298,7 +298,8 @@ namespace wsrep
*
* @return Provider status indicating the result of the call.
*/
virtual enum status causal_read(int timeout) const = 0;
virtual std::pair<wsrep::gtid, enum status>
causal_read(int timeout) const = 0;
virtual enum status wait_for_gtid(const wsrep::gtid&, int timeout) const = 0;
/**
* Return last committed GTID.