HA_ERR_KEY_NOT_FOUND
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
New
|
Undecided
|
Unassigned |
Bug Description
Im having trouble with the multimaster setup using 3 nodes (all same my.cnf + node specific changes), possibly u could help me.
node1 (started with bootstrap)
node2
node3 web-app via php-fpm
Table def.:
CREATE TABLE IF NOT EXISTS `cache_path` (
`cid` varchar(255) NOT NULL DEFAULT '' COMMENT 'Primary Key: Unique cache ID.',
`data` longblob COMMENT 'A collection of data to cache.',
`expire` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry
should expire, or 0 for never.',
`created` int(11) NOT NULL DEFAULT '0' COMMENT 'A Unix timestamp indicating when the cache entry
was created.',
`serialized` smallint(6) NOT NULL DEFAULT '0' COMMENT 'A flag to indicate whether content is
serialized (1) or not (0).',
PRIMARY KEY (`cid`),
KEY `expire` (`expire`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Cache table for path alias lookup.';
if i make this delete query
DELETE FROM cache_path WHERE (expire <> '0') AND (expire < '1387189708')
node1/node2 goes donwn with this error msg:
2013-12-17 13:43:51 14824 [Note] WSREP: Member 1 (ISP01-
synced with group.
2013-12-17 13:45:36 14824 [ERROR] Slave SQL: Could not execute Delete_rows
event on table c9promente.
Error_code: 1032; handler error HA_ERR_
log FIRST, end_log_pos 352, Error_code: 1032
2013-12-17 13:45:36 14824 [Warning] WSREP: RBR event 3 Delete_rows apply
warning: 120, 8
2013-12-17 13:45:36 14824 [Warning] WSREP: Failed to apply app buffer:
seqno: 8, status: 1
at galera/
Retrying 2th time
2013-12-17 13:45:36 14824 [ERROR] Slave SQL: Could not execute Delete_rows
event on table c9promente.
Error_code: 1032; handler error HA_ERR_
log FIRST, end_log_pos 352, Error_code: 1032
2013-12-17 13:45:36 14824 [Warning] WSREP: RBR event 3 Delete_rows apply
warning: 120, 8
2013-12-17 13:45:36 14824 [Warning] WSREP: Failed to apply app buffer:
seqno: 8, status: 1
at galera/
Retrying 3th time
2013-12-17 13:45:36 14824 [ERROR] Slave SQL: Could not execute Delete_rows
event on table c9promente.
Error_code: 1032; handler error HA_ERR_
log FIRST, end_log_pos 352, Error_code: 1032
2013-12-17 13:45:36 14824 [Warning] WSREP: RBR event 3 Delete_rows apply
warning: 120, 8
2013-12-17 13:45:36 14824 [Warning] WSREP: Failed to apply app buffer:
seqno: 8, status: 1
at galera/
Retrying 4th time
2013-12-17 13:45:36 14824 [ERROR] Slave SQL: Could not execute Delete_rows
event on table c9promente.
Error_code: 1032; handler error HA_ERR_
log FIRST, end_log_pos 352, Error_code: 1032
2013-12-17 13:45:36 14824 [Warning] WSREP: RBR event 3 Delete_rows apply
warning: 120, 8
2013-12-17 13:45:36 14824 [ERROR] WSREP: Failed to apply trx: source:
cadcc688-
flags: 129 conn_id: 4 trx_id: 228264 seqnos (l: 14, g: 8, s: 7, d: 7, ts:
9153877911069)
2013-12-17 13:45:36 14824 [ERROR] WSREP: Failed to apply trx 8 4 times
2013-12-17 13:45:36 14824 [ERROR] WSREP: Node consistency compromized,
aborting...
Changed in percona-xtradb-cluster: | |
status: | Incomplete → New |
I wonder what is the output of:
explain DELETE FROM cache_path WHERE (expire <> '0') AND (expire < '1387189708');
explain SELECT * FROM cache_path WHERE (expire <> '0') AND (expire < '1387189708');
select count(*) FROM cache_path WHERE (expire <> '0') AND (expire < '1387189708');
on node3 (where it worked) vs. node1 (where there was error during replication).