Hi,
I'm having a problem with replicating this specific UPDATE statement.
MySQL Server is 5.1.57 both, master and slave.
Replication mode is MIXED and cannot be changed.
It fails with:
Last_Errno: 1406
Last_Error: Error 'Data too long for column 'USER' at row 1' on query. Default database: 'db'. Query: 'UPDATE
tasks o
LEFT JOIN
INFORMATION_SCHEMA.PROCESSLIST procs ON procs.id = o.processId
SET
o.processId = NULL
WHERE
o.queueName = 'queue' AND
procs.id IS NULL'
The USER column must be from INFORMATION_SCHEMA.PROCESSLIST table, since tasks table doesn't have it.
I've also seen problems with the same UPDATE statement and invalid characters in INFORMATION_SCHEMA.PROCESSLIST INFO column. It's strange. The replication eventually automagically continues. But the delay can be between 1 and 30 minutes before it picks up.
Any suggestions on how to debug/fix the problem?
I'm having a problem with replicating this specific UPDATE statement.
MySQL Server is 5.1.57 both, master and slave.
Replication mode is MIXED and cannot be changed.
It fails with:
Last_Errno: 1406
Last_Error: Error 'Data too long for column 'USER' at row 1' on query. Default database: 'db'. Query: 'UPDATE
tasks o
LEFT JOIN
INFORMATION_SCHEMA.PROCESSLIST procs ON procs.id = o.processId
SET
o.processId = NULL
WHERE
o.queueName = 'queue' AND
procs.id IS NULL'
The USER column must be from INFORMATION_SCHEMA.PROCESSLIST table, since tasks table doesn't have it.
I've also seen problems with the same UPDATE statement and invalid characters in INFORMATION_SCHEMA.PROCESSLIST INFO column. It's strange. The replication eventually automagically continues. But the delay can be between 1 and 30 minutes before it picks up.
Any suggestions on how to debug/fix the problem?