JSON column breaks changefeed #3624
Labels
affects-5.0
affects-5.1
affects-5.2
area/ticdc
Issues or PRs related to TiCDC.
severity/moderate
type/bug
The issue is confirmed as a bug.
What did you do?
I'm trying to replicate table with json column. Here is table definition:
I have changefeed configured to post updates to Kafka in AVRO format.
If I add row with
json_payload
equals NULL, everything works as expected, I can see updates in proper Kafka topic.What did you expect to see?
If I add row with any valid JSON as
json_payload
column value, I expect to see proper event in Kafka topic.What did you see instead?
Instead of emitting event, changefeed goes to broken state and stops replicating any future events as well.
Only suspicious thing that I found in logs is
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):TiCDC version (execute
cdc version
):The text was updated successfully, but these errors were encountered: