diff options
author | Kristian Nielsen <knielsen@knielsen-hq.org> | 2016-10-16 23:44:44 +0200 |
---|---|---|
committer | Kristian Nielsen <knielsen@knielsen-hq.org> | 2016-10-16 23:44:44 +0200 |
commit | e1ef99c3dcb8bb6fdea290e319d14f5a983d1785 (patch) | |
tree | 6118948d076e16868b46bc8b14646eee4de610da /sql/wsrep_thd.cc | |
parent | 057c560ee45c61d172ed0ed762b0b33b37349e5c (diff) | |
parent | fb13616518975b84eea9b9e0d5a91122bb1abe7a (diff) | |
download | mariadb-git-e1ef99c3dcb8bb6fdea290e319d14f5a983d1785.tar.gz |
MDEV-7145: Delayed replication
Merge feature into 10.2 from feature branch.
Delayed replication adds an option
CHANGE MASTER TO master_delay=<seconds>
Replication will then delay applying events with that many
seconds. This creates a replication slave that reflects the state of
the master some time in the past.
Feature is ported from MySQL source tree.
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
Diffstat (limited to 'sql/wsrep_thd.cc')
-rw-r--r-- | sql/wsrep_thd.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/wsrep_thd.cc b/sql/wsrep_thd.cc index a810a5a44ae..06846e7dd6a 100644 --- a/sql/wsrep_thd.cc +++ b/sql/wsrep_thd.cc @@ -97,7 +97,6 @@ static rpl_group_info* wsrep_relay_group_init(const char* log_fname) { Relay_log_info* rli= new Relay_log_info(false); - rli->no_storage= true; if (!rli->relay_log.description_event_for_exec) { rli->relay_log.description_event_for_exec= |