3603 Mats Kindahl 2011-11-18
WL#5223: Binary Log Group Commit
Changing to freeze the caches before starting the write.
Prior to the patch, the statement and transaction caches
where frozen after the allocation had been made meaning
that the data written was not taken into account when
deciding if a rotation should occur.
After the patch, the caches are frozen before allocation
is done in the binary log and the number of bytes that
needs to be written is taken into account when deciding
if a rotation is necessary.
As a result of changing the logic, some simplicification
of cache management has also been made.
modified:
sql/binlog.cc
sql/binlog.h
sql/handler.cc
sql/log.h
sql/sql_parse.cc
3602 Mats Kindahl 2011-11-11 [merge]
Merging WL#5223 with trunk.
added:
include/my_iterator.h
include/my_utility.h
mysql-test/suite/binlog/r/binlog_group_commit.result
mysql-test/suite/binlog/t/binlog_group_commit-master.opt
mysql-test/suite/binlog/t/binlog_group_commit.test
mysql-test/suite/sys_vars/r/binlog_sync.result
mysql-test/suite/sys_vars/t/binlog_sync.test
modified:
include/mysql/plugin.h
include/mysql/plugin_audit.h.pp
include/mysql/plugin_auth.h.pp
include/mysql/plugin_ftparser.h.pp
mysql-test/mysql-test-run.pl
mysql-test/suite/binlog/r/binlog_killed.result
mysql-test/suite/binlog/r/rpl_crash_safe_master_checksum.result
mysql-test/suite/binlog/t/binlog_incident-master.opt
mysql-test/suite/binlog/t/binlog_incident.test
mysql-test/suite/binlog/t/disabled.def
mysql-test/suite/rpl/r/rpl_ip_mix.result
mysql-test/suite/rpl/r/rpl_ip_mix2.result
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6.result
mysql-test/suite/rpl/r/rpl_ipv6.result
mysql-test/suite/rpl/r/rpl_log_pos.result
mysql-test/suite/rpl/r/rpl_rotate_logs.result
mysql-test/suite/rpl/r/rpl_row_max_relay_size.result
mysql-test/suite/rpl/r/rpl_stm_max_relay_size.result
mysql-test/suite/rpl/r/rpl_stm_mix_show_relaylog_events.result
mysql-test/suite/rpl/t/disabled.def
mysys/mf_iocache.c
sql/binlog.cc
sql/binlog.h
sql/handler.cc
sql/handler.h
sql/log.h
sql/log_event.cc
sql/log_event.h
sql/mysqld.cc
sql/mysqld.h
sql/rpl_injector.cc
sql/rpl_master.cc
sql/rpl_mi.h
sql/rpl_rli.cc
sql/rpl_slave.cc
sql/share/errmsg-utf8.txt
sql/sql_class.cc
sql/sql_class.h
sql/sql_parse.cc
sql/sys_vars.cc
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.h
Diff too large for email (36961 lines, the limit is 10000).
No bundle (reason: useless for push emails).
| Thread |
|---|
| • bzr push into mysql-trunk branch (mats.kindahl:3602 to 3603) WL#5223 | Mats Kindahl | 21 Nov |