Broken tables
A table is broken when TwinCommit sees an operation on it that cannot be followed from the log. TwinCommit stops applying changes to that table only. Every other table in the pipeline keeps replicating.
Why tables break
Section titled “Why tables break”See the list in schema changes. Other causes include a compressed row image the source could not expand, and on PostgreSQL targets a character value that contains a NUL byte.
How you find out
Section titled “How you find out”twincommit statusshows the table state asbrokenwith the reason.twincommit_broken_tablesrises above 0. Alert on it; see Prometheus metrics.- A JSON log line with
"level":"error","table":"SCHEMA.TABLE"is written. - The MCP
get_statustool reports it, andexplain_errorsuggests the fix.
Repair
Section titled “Repair”twincommit snapshot -config pipeline.yaml -tables SCHEMA.TABLEThen restart run so it reloads the table definition. If the column layout changed, update the target table first.