diff options
author | unknown <knielsen@knielsen-hq.org> | 2014-05-15 15:52:08 +0200 |
---|---|---|
committer | Kristian Nielsen <knielsen@knielsen-hq.org> | 2014-05-15 15:52:08 +0200 |
commit | 787c470cef54574e744eb5dfd9153d837fe67e45 (patch) | |
tree | 1168c4a1f2bd4371f56e7b231da7f0f18dcdb1f9 /sql/rpl_parallel.h | |
parent | d60915692cd02cc70b7eb8245c9ac6eab5df3d0c (diff) | |
download | mariadb-git-787c470cef54574e744eb5dfd9153d837fe67e45.tar.gz |
MDEV-5262: Missing retry after temp error in parallel replication
Handle retry of event groups that span multiple relay log files.
- If retry reaches the end of one relay log file, move on to the next.
- Handle refcounting of relay log files, and avoid purging relay log
files until all event groups have completed that might have needed
them for transaction retry.
Diffstat (limited to 'sql/rpl_parallel.h')
-rw-r--r-- | sql/rpl_parallel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/rpl_parallel.h b/sql/rpl_parallel.h index 3b6641523f6..3934fd98648 100644 --- a/sql/rpl_parallel.h +++ b/sql/rpl_parallel.h @@ -9,6 +9,7 @@ struct rpl_parallel_entry; struct rpl_parallel_thread_pool; class Relay_log_info; +struct inuse_relaylog; /* @@ -73,6 +74,7 @@ struct rpl_parallel_thread { queued_event *next; Log_event *ev; rpl_group_info *rgi; + inuse_relaylog *ir; ulonglong future_event_relay_log_pos; char event_relay_log_name[FN_REFLEN]; char future_event_master_log_name[FN_REFLEN]; |