summaryrefslogtreecommitdiff
path: root/sql/rpl_parallel.h
diff options
context:
space:
mode:
authorKristian Nielsen <knielsen@knielsen-hq.org>2015-05-26 15:03:22 +0200
committerKristian Nielsen <knielsen@knielsen-hq.org>2015-05-26 15:03:22 +0200
commit903f8dc72d3b8c8036bb8fbeec51d503b732b4cf (patch)
tree35028f97c96a903f7af2c63d6441babf49e51879 /sql/rpl_parallel.h
parent5bd25a9c530dc5d059f6153abf36639c0e213cb0 (diff)
parente5f1e841dc32ccb8e8630876e8073efd778d3efd (diff)
downloadmariadb-git-903f8dc72d3b8c8036bb8fbeec51d503b732b4cf.tar.gz
Merge MDEV-8147 into 10.1
Diffstat (limited to 'sql/rpl_parallel.h')
-rw-r--r--sql/rpl_parallel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/rpl_parallel.h b/sql/rpl_parallel.h
index 4734f0ca51e..0b6c0b460d0 100644
--- a/sql/rpl_parallel.h
+++ b/sql/rpl_parallel.h
@@ -251,6 +251,12 @@ struct rpl_parallel_entry {
*/
bool force_abort;
/*
+ Set in wait_for_workers_idle() to show that it is waiting, so that
+ finish_event_group knows to signal it when last_committed_sub_id is
+ increased.
+ */
+ bool need_sub_id_signal;
+ /*
At STOP SLAVE (force_abort=true), we do not want to process all events in
the queue (which could unnecessarily delay stop, if a lot of events happen
to be queued). The stop_count provides a safe point at which to stop, so