Node consistency issues with foreign key grammar
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership |
In Progress
|
Undecided
|
Seppo Jaakola | |||
5.5 |
New
|
Undecided
|
Seppo Jaakola | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Fix Released
|
Medium
|
Unassigned | |||
5.6 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Run as:
perl runall-new.pl --basedir=
The grammars - galera_stree-fk.yy and galera_stress-56.zz are in bzr+ssh:
Node0:
2013-12-11 16:08:06 25095 [ERROR] Slave SQL: Could not execute Delete_rows event on table test.table100_
2013-12-11 16:08:06 25095 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 152, 101
2013-12-11 16:08:06 25095 [Warning] WSREP: Failed to apply app buffer: seqno: 101, status: 1
at galera/
Retrying 2th time
2013-12-11 16:08:06 25095 [ERROR] Slave SQL: Could not execute Delete_rows event on table test.table100_
2013-12-11 16:08:06 25095 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 152, 101
2013-12-11 16:08:06 25095 [Warning] WSREP: Failed to apply app buffer: seqno: 101, status: 1
at galera/
Retrying 3th time
2013-12-11 16:08:06 25095 [ERROR] Slave SQL: Could not execute Delete_rows event on table test.table100_
2013-12-11 16:08:06 25095 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 152, 101
2013-12-11 16:08:06 25095 [Warning] WSREP: Failed to apply app buffer: seqno: 101, status: 1
at galera/
Retrying 4th time
2013-12-11 16:08:06 25095 [ERROR] Slave SQL: Could not execute Delete_rows event on table test.table100_
2013-12-11 16:08:06 25095 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 152, 101
2013-12-11 16:08:06 25095 [Warning] WSREP: failed to replay trx: source: 1f04d2aa-
2013-12-11 16:08:06 25095 [Warning] WSREP: Failed to apply trx 101 4 times
2013-12-11 16:08:06 25095 [ERROR] WSREP: trx_replay failed for: 6, query: void
2013-12-11 16:08:06 25095 [ERROR] Aborting
Node1:
2013-12-11 16:08:07 25141 [ERROR] Slave SQL: Could not execute Delete_rows event on table test.table100_
2013-12-11 16:08:07 25141 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 152, 101
2013-12-11 16:08:07 25141 [Warning] WSREP: Failed to apply app buffer: seqno: 101, status: 1
at galera/
Retrying 2th time
2013-12-11 16:08:07 25141 [ERROR] Slave SQL: Could not execute Delete_rows event on table test.table100_
2013-12-11 16:08:07 25141 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 152, 101
2013-12-11 16:08:07 25141 [Warning] WSREP: Failed to apply app buffer: seqno: 101, status: 1
at galera/
Retrying 3th time
2013-12-11 16:08:07 25141 [ERROR] Slave SQL: Could not execute Delete_rows event on table test.table100_
2013-12-11 16:08:07 25141 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 152, 101
2013-12-11 16:08:07 25141 [Warning] WSREP: Failed to apply app buffer: seqno: 101, status: 1
at galera/
Retrying 4th time
2013-12-11 16:08:07 25141 [ERROR] Slave SQL: Could not execute Delete_rows event on table test.table100_
2013-12-11 16:08:07 25141 [Warning] WSREP: RBR event 3 Delete_rows apply warning: 152, 101
2013-12-11 16:08:07 25141 [ERROR] WSREP: Failed to apply trx: source: 1f04d2aa-
2013-12-11 16:08:07 25141 [ERROR] WSREP: Failed to apply trx 101 4 times
2013-12-11 16:08:07 25141 [ERROR] WSREP: Node consistency compromized, aborting...
Full logs:
http://
http://
This may be due to ON DELETE NO ACTION which breaks FK:
2013-12-11 16:08:07 25141 [ERROR] Slave SQL: Could not execute Delete_rows event on table test.table100_ innodb_ int; Cannot delete or update a parent row: a foreign key constraint fails (`test`.`u`, CONSTRAINT `u_ibfk_1` FOREIGN KEY (`col_char_12_key`) REFERENCES `table100_ innodb_ int` (`col_char_12_key`) ON DELETE NO ACTION), Error_code: 1451; handler error HA_ERR_ ROW_IS_ REFERENCED; the event's master log FIRST, end_log_pos 234, Error_code: 1451
So, testing by removing it for now.