1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-4506: Parallel replication.

Improve STOP SLAVE in parallel mode.

Now, the parallel part will queue the current event group to the
end, and then stop queing any more events. Each worker will
complete the current event group, and then just skip any further
queued events.
This commit is contained in:
unknown
2013-10-08 14:36:06 +02:00
parent 45c3c71513
commit 12c760ef71
4 changed files with 161 additions and 9 deletions

View File

@ -76,6 +76,7 @@ struct rpl_parallel_entry {
struct rpl_parallel {
HASH domain_hash;
rpl_parallel_entry *current;
bool sql_thread_stopping;
rpl_parallel();
~rpl_parallel();