mariadb/unittest/sql
Andrei Elkin 00ccff48af MDEV-14014 Multi-Slave Replication Fail: bogus data in log event
MDEV-7257 made a dump thread to read from binlog concurrently with
writers as long as the read bytes are below a water-mark
(MYSQL_BIN_LOG::binlog_end_pos). However it appeared to be possible a
dump thread reader reach out for bytes past the water mark through a
feature of IO_CACHE that fills in the internal buffer and while doing
so it could read what the reader is not supposed to see (the bytes
above MYSQL_BIN_LOG::binlog_end_pos).

The issue is fixed with constraining the IO_CACHE buffer fill to respect
the watermark.

An added unit test proves reading from file is bound to an external
parameter
passed to {IO_CACHE::end_of_file} cache member.
2018-06-28 12:38:58 +02:00
..
CMakeLists.txt unittest: encrypted temporary IO_CACHE 2015-06-27 09:40:56 +02:00
explain_filename-t.cc fix some quoting in error messages 2016-09-16 09:54:30 +02:00
mf_iocache-t.cc MDEV-14014 Multi-Slave Replication Fail: bogus data in log event 2018-06-28 12:38:58 +02:00
my_apc-t.cc Correct FSF address 2017-03-10 18:21:29 +01:00