Anomaly with opt_log_slow_slave_statements
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Medium
|
Unassigned | |||
5.5 |
Triaged
|
Medium
|
Unassigned | |||
5.6 |
Triaged
|
Medium
|
Unassigned | |||
5.7 |
Triaged
|
Medium
|
Unassigned |
Bug Description
As reported in lp:1160436
Regarding slave threads, compared to upstream, I see
- thd->enable_
- thd->write_
+ thd->enable_
with this, opt_log_
slow_log_print; which means for slave threads, the whole function log_slow_statement
is called because compared to upstream, it (it being thd->enable_
Following are missing from PS source:
sql/log_event.cc do_apply_event 3484 thd->enable_
sql/slave.cc init_slave_thread 2082 thd->enable_
tags: | added: slow-extended |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PS-1346