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

Pass transaction id instead of client id to storage service append_fragment()

This commit is contained in:
Teemu Ollakka
2018-07-07 21:34:58 +03:00
parent 178f70d3be
commit 2913aecebd
6 changed files with 95 additions and 88 deletions

View File

@ -14,7 +14,7 @@
#ifndef WSREP_STORAGE_SERVICE_HPP
#define WSREP_STORAGE_SERVICE_HPP
#include "client_id.hpp"
#include "transaction_id.hpp"
#include "id.hpp"
#include "buffer.hpp"
@ -46,7 +46,7 @@ namespace wsrep
* Append fragment into stable storage.
*/
virtual int append_fragment(const wsrep::id& server_id,
wsrep::client_id client_id,
wsrep::transaction_id client_id,
int flags,
const wsrep::const_buffer& data) = 0;