mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
bebb3427f2
Performance schema tables are local to a server and they should not be allowed to be executed by the slave from the relay log. From 5.6.10, P_S events are not written into the binary log. But prior to that, from mysql 5.5 onwards, P_S events are written to the binary log by master. The following are problematic scenarios: 1. Master 5.5 -> Slave 5.5 ======================== A) RBR: Slave crashes B) SBR: P_S statements are replicated. 2.Master 5.5 -> Slave 5.6 ======================== A) RBR: SQL thd generates error B) SBR : P_S statements are replicated 3. 5.5 binlog executed on a server 5.5 using mysqlbinlog|mysql ================================================================= A) RBR: Server crash (because of BINLOG'... statement) B) SBR: P_S statements are executed 4. 5.5 binlog executed on server 5.6 using mysqlbinlog|mysql ================================================================ A) RBR: SQL error (because of BINLOG'... statement) B) SBR: P_S statements are executed. The generalized behaviour should be: a) Slave SQL thread should certainly ignore P_S events read from the relay log. b) mysqlbinlog|mysql should replay the binlog succesfully. |
||
---|---|---|
.. | ||
unittest | ||
CMakeLists.txt | ||
ha_perfschema.cc | ||
ha_perfschema.h | ||
pfs.cc | ||
pfs.h | ||
pfs_atomic.cc | ||
pfs_atomic.h | ||
pfs_check.cc | ||
pfs_column_types.h | ||
pfs_column_values.cc | ||
pfs_column_values.h | ||
pfs_engine_table.cc | ||
pfs_engine_table.h | ||
pfs_events_waits.cc | ||
pfs_events_waits.h | ||
pfs_global.cc | ||
pfs_global.h | ||
pfs_instr.cc | ||
pfs_instr.h | ||
pfs_instr_class.cc | ||
pfs_instr_class.h | ||
pfs_lock.h | ||
pfs_server.cc | ||
pfs_server.h | ||
pfs_stat.h | ||
pfs_timer.cc | ||
pfs_timer.h | ||
table_all_instr.cc | ||
table_all_instr.h | ||
table_events_waits.cc | ||
table_events_waits.h | ||
table_events_waits_summary.cc | ||
table_events_waits_summary.h | ||
table_ews_global_by_event_name.cc | ||
table_ews_global_by_event_name.h | ||
table_file_instances.cc | ||
table_file_instances.h | ||
table_file_summary.cc | ||
table_file_summary.h | ||
table_performance_timers.cc | ||
table_performance_timers.h | ||
table_setup_consumers.cc | ||
table_setup_consumers.h | ||
table_setup_instruments.cc | ||
table_setup_instruments.h | ||
table_setup_timers.cc | ||
table_setup_timers.h | ||
table_sync_instances.cc | ||
table_sync_instances.h | ||
table_threads.cc | ||
table_threads.h |