codec(ticdc): wrong serialized value for avro codec when there are multiple decimals with different precision/scale #5554
Labels
affects-6.1
area/ticdc
Issues or PRs related to TiCDC.
severity/major
type/bug
The issue is confirmed as a bug.
What did you do?
Just as title said. You could use TPC-C test to reproduce. For TPC-C
customer
table, thec_discount
value is always out-of-sync for source and sink.This raises from bug in
goavro
, see linkedin/goavro#195.What did you expect to see?
decimals values are same in source and sink.
What did you see instead?
decimals values are different in source and sink.
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):(paste TiDB cluster version here)
Upstream TiKV version (execute
tikv-server --version
):(paste TiKV version here)
TiCDC version (execute
cdc version
):(paste TiCDC version here)
The text was updated successfully, but these errors were encountered: