wsrep_consistency_check only handled on SQLCOM_INSERT_SELECT
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.5 |
Fix Committed
|
Undecided
|
Seppo Jaakola | |||
5.6 |
Fix Released
|
Undecided
|
Seppo Jaakola | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Undecided
|
Unassigned | |||
5.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
pt-table-checksum uses REPLACE ... SELECT to create a checksum of chunks of data, I believe the wsrep_consisten
In order for pt-table-checksum to be re-runnable it makes sense for it to use SQLCOM_
-------
modified sql_parse.cc:
-------
#ifdef WITH_WSREP
if (lex->sql_command == SQLCOM_
thd->wsrep_
{
thd-
WSREP_
}
....
if (lex->sql_command == SQLCOM_
lex-
-------
pt-table-checksum code:
-------
my $checksum_dml = "REPLACE INTO $repl_table "
yes, it looks like removing SQLCOM_ INSERT_ SELECT check from the if() statement could fix it.