codec(ticdc): wrong serialized value for avro codec when there are multiple decimals with different precision/scale #5554
Closed
Description
What did you do?
Just as title said. You could use TPC-C test to reproduce. For TPC-C customer
table, the c_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)