Error 6001: Before image of replicated record does not match the slave local record
MariaDB Enterprise Server error 6001 (ER_INCONSISTENT_SLAVE_TABLE): Before image of replicated record does not match the slave local record
6001
ER_INCONSISTENT_SLAVE_TABLE
Before image of replicated record does not match the slave local record
This error code is specific to MariaDB Enterprise Server, beginning with MariaDB Enterprise Server 12.3.
Possible Causes and Solutions
A replica raises this error when it applies a row-based UPDATE or DELETE event to a table that has Conflict Detection and Resolution (CDR) triggers, and the row it finds does not match the before-image recorded on the primary — but the conflict is not eligible to be routed to a CDR trigger. The SQL thread stops so an operator can reconcile the diverged data; the error appears in the Last_SQL_Errno and Last_SQL_Error columns of SHOW REPLICA STATUS.
A conflict is not eligible for trigger routing when the table lacks a primary key, or when the replica's slave_parallel_mode is a setting more aggressive than optimistic. See The Before-Image Consistency Check for the full eligibility rules and the recommended configuration.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

