cdc mounter encode default value for unsigned
into string
, cause canal-json
panic.
#4635
Labels
affects-5.4
area/ticdc
Issues or PRs related to TiCDC.
component/sink
Sink component.
severity/critical
type/bug
The issue is confirmed as a bug.
What did you do?
The problem is not reproduced yet.
When encoding
RowChangedEvent
by using theCanal-JSON
, it makes the assumption thatuint64
will be used for allunsigned
SQL type. But it may meetstring
.This may be related to #3930
What did you expect to see?
Canal-JSON
should handlestring
forunsigned
correctly.What did you see instead?
CDC server panic.
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):v5.4.0
Upstream TiKV version (execute
tikv-server --version
):v5.4.0
TiCDC version (execute
cdc version
):v5.4.0
The text was updated successfully, but these errors were encountered: