MDEV-17099 Preliminary changes for Galera XA support (#1401)

Update wsrep-lib, and adapt to wsrep-lib interface changes.
This commit is contained in:
Daniele Sciascia 2019-10-24 13:05:33 +02:00 committed by Jan Lindström
commit 2b5f4b3ed6
9 changed files with 25 additions and 12 deletions

View file

@ -35,13 +35,15 @@ public:
~Wsrep_high_priority_service();
int start_transaction(const wsrep::ws_handle&,
const wsrep::ws_meta&);
int next_fragment(const wsrep::ws_meta&);
const wsrep::transaction& transaction() const;
int adopt_transaction(const wsrep::transaction&);
int apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&,
wsrep::mutable_buffer&) = 0;
int append_fragment_and_commit(const wsrep::ws_handle&,
const wsrep::ws_meta&,
const wsrep::const_buffer&);
const wsrep::const_buffer&,
const wsrep::xid&);
int remove_fragments(const wsrep::ws_meta&);
int commit(const wsrep::ws_handle&, const wsrep::ws_meta&);
int rollback(const wsrep::ws_handle&, const wsrep::ws_meta&);