mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Update wsrep-lib. (#1426)
This commit updates the wsrep-lib. The changes are a cleanup in client_state TOI processing and stub methods for future extensions.
This commit is contained in:
parent
8fa759a576
commit
67e063eb94
4 changed files with 18 additions and 4 deletions
|
|
@ -86,6 +86,8 @@ public:
|
|||
~Wsrep_applier_service();
|
||||
int apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&,
|
||||
wsrep::mutable_buffer&);
|
||||
int apply_nbo_begin(const wsrep::ws_meta&, const wsrep::const_buffer& data,
|
||||
wsrep::mutable_buffer& err);
|
||||
void after_apply();
|
||||
bool is_replaying() const { return false; }
|
||||
bool check_exit_status() const;
|
||||
|
|
@ -98,6 +100,12 @@ public:
|
|||
~Wsrep_replayer_service();
|
||||
int apply_write_set(const wsrep::ws_meta&, const wsrep::const_buffer&,
|
||||
wsrep::mutable_buffer&);
|
||||
int apply_nbo_begin(const wsrep::ws_meta&, const wsrep::const_buffer& data,
|
||||
wsrep::mutable_buffer& err)
|
||||
{
|
||||
DBUG_ASSERT(0); /* DDL should never cause replaying */
|
||||
return 0;
|
||||
}
|
||||
void after_apply() { }
|
||||
bool is_replaying() const { return true; }
|
||||
void replay_status(enum wsrep::provider::status status)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue