summaryrefslogtreecommitdiff
path: root/sql/rpl_parallel.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-10-17 14:11:19 +0200
committerunknown <knielsen@knielsen-hq.org>2013-10-17 14:11:19 +0200
commit7681c6aa787f9d3402059957bd8d993997cb623b (patch)
tree92eda5e12132c16d13e16abc7954f21c79740b11 /sql/rpl_parallel.h
parentfcaf1e6a82e2a9f6914b72ea9307c7d91d194150 (diff)
downloadmariadb-git-7681c6aa787f9d3402059957bd8d993997cb623b.tar.gz
MDEV-4506: Parallel replication: Intermediate commit.
Fix some part of update of old-style coordinates in parallel replication: - Ignore XtraDB request for old-style coordinates, not meaningful for parallel replication (must use GTID to get crash-safe parallel slave). - Only update relay log coordinates forward, not backwards, to ensure that parallel threads do not conflict with each other. - Move future_event_relay_log_pos to rgi.
Diffstat (limited to 'sql/rpl_parallel.h')
-rw-r--r--sql/rpl_parallel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/rpl_parallel.h b/sql/rpl_parallel.h
index b9106392faf..7830470a929 100644
--- a/sql/rpl_parallel.h
+++ b/sql/rpl_parallel.h
@@ -23,6 +23,7 @@ struct rpl_parallel_thread {
queued_event *next;
Log_event *ev;
rpl_group_info *rgi;
+ ulonglong future_event_relay_log_pos;
} *event_queue, *last_in_queue;
};