TiDB 4.0.0-rc has been released, the specific updates of this version are as follows:
Compatibility Changes
- When tidb server status port is occupied, refuse to start instead of returning to alert log # 15177
Bug Fixes
- Fix the following issue: Due to incorrect job query in internal records, when using PREPARE statement to execute DDL job, replication between upstream and downstream may be wrong # 15435
- Fix
Read Commited
wrong subquery results in isolation level # 15471 - Fixes an issue that may occur with incorrect behavior when
INSERT ... VALUES
specifyingBIT(N)
data types # 15350 - Fix the following problem: DDL job internal retry cannot fully achieve the expected result because the
ErrorCount
failed value cannot be summed correctly # 15373 - Fix Garbage Collection may not work properly when TiDB is connected to TiFlash # 15505
- Resolved an issue with incorrect results caused by Inline Projection optimization # 15411
- Fix
INL_MERGE_JOIN
the problem that the SQL prompt is executed incorrectly in some cases # 15515 - Fixed an
AutoRandom
issue where columns with attributes were re-referenced when explicitly writing negative numbers to these columns # 15397
New features and improvements
- Add case-sensitive collation so users can enable utf8mb4_general_ci and utf8_general_ci in the new cluster # 33
- Enhanced
RECOVER TABLE
syntax to support recovery of truncated tables # 15398 - When tidb server status port is occupied, refuse to start instead of returning to alert log # 15177
- Use sequence as default column value to optimize write performance # 15216
- Add
DDLJobs
system table to query DDL job details # 14837 - Optimize
aggFuncSum
performance # 14887 - Optimized
EXPLAIN
output # 15507
Update instructions: https://github.com/pingcap/tidb/releases/tag/v4.0.0-rc