mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
e5f1e841dc
When the slave processes the master restart format_description event, parallel replication needs to complete any prior events before processing the restart event (which closes temporary tables and such stuff). This happens in wait_for_workers_idle(), however it was not waiting long enough. The wait was using wait_for_prior_commit(), but at that points table can still be open. This lead to assertion in this case. So change wait_for_workers_idle() to wait until all worker threads have reached finish_event_group(), at which point all tables should have been closed. |
||
---|---|---|
.. | ||
archive | ||
binlog | ||
csv | ||
engines | ||
federated | ||
funcs_1 | ||
funcs_2 | ||
handler | ||
heap | ||
innodb | ||
innodb_fts | ||
innodb_zip | ||
jp | ||
large_tests | ||
manual | ||
maria | ||
mtr/t | ||
mtr2 | ||
multi_source | ||
optimizer_unfixed_bugs | ||
parts | ||
percona | ||
perfschema | ||
perfschema_stress | ||
plugins | ||
roles | ||
rpl | ||
storage_engine | ||
stress | ||
sys_vars | ||
unit | ||
vcol |