mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
00ccff48af
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
explain_filename-t.cc | ||
mf_iocache-t.cc | ||
my_apc-t.cc |