mariadb/storage/innobase
Thirunarayanan Balathandayuthapani 2ef1baa75f Bug #24793413 LOG PARSING BUFFER OVERFLOW
Problem:
========
During checkpoint, we are writing all MLOG_FILE_NAME records in one mtr
and parse buffer can't be processed till MLOG_MULTI_REC_END. Eventually parse
buffer exceeds the RECV_PARSING_BUF_SIZE and eventually it overflows.

Fix:
===
1) Break the large mtr if it exceeds LOG_CHECKPOINT_FREE_PER_THREAD into multiple mtr during checkpoint.
2) Move the parsing buffer if we are encountering only MLOG_FILE_NAME
records. So that it will never exceed the RECV_PARSING_BUF_SIZE.

Reviewed-by: Debarun Bannerjee <debarun.bannerjee@oracle.com>
Reviewed-by: Rahul M Malik <rahul.m.malik@oracle.com>
RB: 14743
2017-04-26 23:03:32 +03:00
..
btr
buf
data
dict
eval
fil Bug #24793413 LOG PARSING BUFFER OVERFLOW 2017-04-26 23:03:32 +03:00
fsp
fts
fut
gis
ha
handler
ibuf
include Bug #24793413 LOG PARSING BUFFER OVERFLOW 2017-04-26 23:03:32 +03:00
lock
log Bug #24793413 LOG PARSING BUFFER OVERFLOW 2017-04-26 23:03:32 +03:00
mach
mem
mtr Bug #24793413 LOG PARSING BUFFER OVERFLOW 2017-04-26 23:03:32 +03:00
mysql-test/storage_engine
os
page
pars
que
read
rem
row
srv
sync
trx
usr
ut
bzip2.cmake
CMakeLists.txt
compile-innodb
COPYING.Google
COPYING.Percona
innodb.cmake
lz4.cmake
lzma.cmake
lzo.cmake
plugin_exports
snappy.cmake