title | summary |
---|---|
TiDB 6.5.2 Release Notes |
Learn about the compatibility changes, improvements, and bug fixes in TiDB 6.5.2. |
Release date: April 21, 2023
TiDB version: 6.5.2
Quick access: Quick start | Production deployment | Installation packages
-
TiCDC fixes the issue of incorrect encoding of
FLOAT
data in Avro #8490 @3AceShowHandWhen upgrading the TiCDC cluster to v6.5.2 or a later v6.5.x version, if a table replicated using Avro contains the
FLOAT
data type, you need to manually adjust the compatibility policy of Confluent Schema Registry toNone
before upgrading so that the changefeed can successfully update the schema. Otherwise, after upgrading, the changefeed will be unable to update the schema and enter an error state. -
To fix the potential issue of data loss during replication of partitioned tables to storage services, the default value of the TiCDC
sink.enable-partition-separator
configuration item is changed fromfalse
totrue
. This means that partitions in a table are stored in separate directories by default. It is recommended that you keep the value astrue
to avoid the data loss issue. #8724 @CharlesCheung96
-
TiDB
- Support caching the execution plan for
BatchPointGet
in Prepared Plan Cache #42125 @qw4990 - Support more SQL formats for Index Join #40505 @Yisaer
- Change the log level of some Index Merge readers from
"info"
to"debug"
#41949 @yibin87 - Optimize the
distsql_concurrency
setting for Range partitioned tables with Limit to reduce query latency #41480 @you06
- Support caching the execution plan for
-
TiFlash
- Reduce CPU consumption of task scheduling during TiFlash reads #6495 @JinheLin
- Improve performance of data import from BR and TiDB Lightning to TiFlash with default configurations #7272 @breezewish
-
Tools
-
TiCDC
- Release TiCDC Open API v2.0 #8743 @sdojjy
- Introduce
gomemlimit
to prevent TiCDC from OOM issues #8675 @amyangfei - Use the multi-statement approach to optimize the replication performance in scenarios involving batch execution of
UPDATE
statements #8057 @amyangfei - Support splitting transactions in the redo applier to improve its throughput and reduce RTO in disaster recovery scenarios #8318 @CharlesCheung96
- Support applying DDL events in redo logs #8361 @CharlesCheung96
-
TiDB Lightning
-
-
TiDB
- Fix the issue that after a new column is added in the cache table, the value is
NULL
instead of the default value of the column #42928 @lqs - Fix the issue of DDL retry caused by write conflict when executing
TRUNCATE TABLE
for partitioned tables with many partitions and TiFlash replicas #42940 @mjonss - Fix the issue of missing table names in the
ADMIN SHOW DDL JOBS
result when aDROP TABLE
operation is being executed #42268 @tiancaiamao - Fix the issue that TiDB server cannot start due to an error in reading the cgroup information with the error message "can't read file memory.stat from cgroup v1: open /sys/memory.stat no such file or directory" #42659 @hawkingrei
- Fix frequent write conflicts in transactions when performing DDL data backfill #24427 @mjonss
- Fix the issue that TiDB panic occurs due to inconsistent InfoSchema being obtained when generating the execution plan #41622 @tiancaiamao
- Fix the issue that when modifying the floating-point type using DDL to keep the length unchanged and reduce the decimal places, the old data still remains the same #41281 @zimulala
- Fix the issue that after executing
PointUpdate
within a transaction, TiDB returns incorrect results for theSELECT
statement #28011 @zyguan - Fix the issue that, when using Cursor Fetch and running other statements among Execute, Fetch, and Close, the Fetch and Close commands might return incorrect results or cause TiDB to panic #40094 @YangKeao
- Fix the issue that
INSERT IGNORE
andREPLACE
statements do not lock keys that do not modify values #42121 @zyguan - Fix the issue that TiFlash reports an error for generated columns during execution #40663 @guo-shaoge
- Fix the issue that TiDB might produce incorrect results when different partitioned tables appear in a single SQL statement #42135 @mjonss
- Fix the issue that full index scans might cause errors when prepared plan cache is enabled #42150 @fzzf678
- Fix the issue that IndexMerge might produce incorrect results when prepare plan cache is enabled #41828 @qw4990
- Fix the issue that the configuration of
max_prepared_stmt_count
does not take effect #39735 @xuyifangreeneyes - Fix the issue that IndexMerge might produce incorrect results when prepare plan cache is enabled #41828 @qw4990 @XuHuaiyu
- Fix the issue that Index Join might cause panic in dynamic trimming mode of partition tables #40596 @tiancaiamao
- Fix the issue that after a new column is added in the cache table, the value is
-
TiKV
- Fix the issue that TiKV does not correctly parse the
:
character when processing the cgroup path #14538 @SpadeA-Tang
- Fix the issue that TiKV does not correctly parse the
-
PD
- Fix the issue that PD might unexpectedly add multiple Learners to a Region #5786 @HunDunDM
- Fix the issue that switching placement rule might cause uneven distribution of leaders #6195 @bufferflies
-
TiFlash
- Fix the issue that TiFlash cannot recognize generated columns #6801 @guo-shaoge
- Fix the issue that Decimal division does not round up the last digit in certain cases #7022 @LittleFall
- Fix the issue that Decimal cast rounds up incorrectly in certain cases #6994 @windtalker
- Fix the issue that TopN/Sort operators produce incorrect results after enabling the new collation #6807 @xzhangxian1008
- Fix the issue of TiFlash process failures due to TiCDC incompatibility #7212 @hongyunyan
-
Tools
-
Backup & Restore (BR)
-
TiCDC
- Fix the issue that the partition separator does not work when TiCDC replicates data to object storage #8581 @CharlesCheung96 @hi-rustin
- Fix the issue that table scheduling might cause data loss when TiCDC replicates data to object storage #8256 @zhaoxinyu
- Fix the issue that the replication gets stuck due to non-reentrant DDL statements #8662 @hicqu
- Fix the issue that TiCDC scaling might cause data loss when TiCDC replicates data to object storage #8666 @CharlesCheung96
- Fix the issue that the memory usage of
db sorter
is not controlled bycgroup memory limit
#8588 @amyangfei - Fix the issue that data loss might occur in special cases during the apply of Redo log #8591 @CharlesCheung96
- Fix the issue that the memory usage of
db sorter
is not controlled bycgroup memory limit
#8588 @amyangfei - Fix the issue that the disorder of
UPDATE
andINSERT
statements during data replication might cause theDuplicate entry
error #8597 @sdojjy - Fix the abnormal exit issue of the TiCDC service caused by network isolation between PD and TiCDC #8562 @overvenus
- Fix the issue that graceful upgrade for TiCDC clusters fails on Kubernetes #8484 @overvenus
- Fix the issue that the TiCDC server panics when all downstream Kafka servers are unavailable #8523 @3AceShowHand
- Fix the issue that restarting the changefeed might cause data loss or that the checkpoint cannot advance #8242 @overvenus
-