summaryrefslogtreecommitdiff
path: root/sql/sql_expression_cache.h
diff options
context:
space:
mode:
authorBrandon Nesterenko <brandon.nesterenko@mariadb.com>2023-02-08 10:32:35 -0700
committerBrandon Nesterenko <brandon.nesterenko@mariadb.com>2023-02-09 13:02:14 -0700
commiteecd4f1459214b84207b426ed87e12fd89f236af (patch)
tree676f593618211a2e5d74f12c8e144a739bbdb6e3 /sql/sql_expression_cache.h
parentc63768425b03148737ba62dda7b6948283b04c94 (diff)
downloadmariadb-git-eecd4f1459214b84207b426ed87e12fd89f236af.tar.gz
MDEV-30608: rpl.rpl_delayed_parallel_slave_sbm sometimes fails with Seconds_Behind_Master should not have used second transaction timestamp
One of the constraints added in the MDEV-29639 patch, is that only the first event after idling should update last_master_timestamp; and as long as the replica has more events to execute, the variable should not be updated. The corresponding test, rpl_delayed_parallel_slave_sbm.test, aims to verify this; however, if the IO thread takes too long to queue events, the SQL thread can appear to catch up too fast. This fix ensures that the relay log has been fully written before executing the events. Note that the underlying cause of this test failure needs to be addressed as a bug-fix, this is a temporary fix to stop test failures. To track work on the bug-fix for the underlying issue, please see MDEV-30619.
Diffstat (limited to 'sql/sql_expression_cache.h')
0 files changed, 0 insertions, 0 deletions