1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

BUG#30435 loading large LOAD DATA INFILE breaks slave with

read_buffer_size set on master
BUG#33413 show binlog events fails if binlog has event size of close
          to max_allowed_packet


The size of Append_block replication event was determined solely by
read_buffer_size whereas the rest of replication code deals with
max_allowed_packet.
When the former parameter was set to larger than the latter there were
two artifacts: the master could not read events from binlog;
show master events did not show.

Fixed with 
- fragmenting the used io-cached buffer into pieces each size of less
  than max_allowed_packet (bug#30435)
- incrementing show-binlog-events handling thread's max_allowed_packet
  with the max estimated for the replication header size
This commit is contained in:
aelkin/elkin@koti.dsl.inet.fi
2007-12-21 22:34:43 +02:00
parent c2f00cc3f9
commit 0ca3250e59
6 changed files with 134 additions and 25 deletions

View File

@@ -0,0 +1 @@
--read_buffer_size=9K --max_allowed_packet=8K