TiDB 4.0.10 Release Notes
Release date: January 15, 2021
TiDB version: 4.0.10
New Features
PD
- Add the
enable-redact-log
configuration item to redact user data from logs #3266
- Add the
TiFlash
- Add the
security.redact_info_log
configuration item to redact user data from logs
- Add the
Improvements
TiDB
- Make the size limit of a key-value entry in transaction configurable using
txn-entry-size-limit
#21843
- Make the size limit of a key-value entry in transaction configurable using
PD
Tools
Bug Fixes
TiDB
- Fix a concurrency bug that might cause the batch client timeout #22336
- Fix the issue of duplicate bindings caused by concurrent baseline capture #22295
- Make the baseline capture bound to the SQL statement work when the log level is
'debug'
#22293 - Correctly release GC locks when Region merge occurs #22267
- Return correct values for user variables of the
datetime
type #22143 - Fix the issue of using index merge when there are multiple table filters #22124
- Fix the
wrong precision
issue in TiFlash caused by theprepare
plan cache #21960 - Fix the issue of incorrect results caused by schema change #21596
- Avoid unnecessary column flag changes in
ALTER TABLE
#21474 - Set the database name for table aliases of query blocks used in optimizer hints #21380
- Generate the proper optimizer hint for
IndexHashJoin
andIndexMergeJoin
#21020
TiKV
PD
TiFlash
- Fix the issue that TiFlash fails to start because TiFlash fails to process the TiDB schema of an old version
- Fix the issue that TiFlash fails to start due to incorrect handling of
cpu_time
on the RedHat system - Fix the issue that TiFlash fails to start when
path_realtime_mode
is set totrue
- Fix an issue of incorrect results when calling the
substr
function with three parameters - Fix the issue that TiFlash does not support changing the
Enum
type even if the change is lossless
Tools
TiCDC
- Fix the
maxwell
protocol issues, including the issue ofbase64
data output and the issue of outputting TSO to unix timestamp #1173 - Fix a bug that outdated metadata might cause the newly created changefeed abnormal #1184
- Fix the issue of creating the receiver on the closed notifier #1199
- Fix a bug that the TiCDC owner might consume too much memory in the etcd watch client #1227
- Fix the issue that
max-batch-size
does not take effect #1253 - Fix the issue of cleaning up stale tasks before the capture information is constructed #1280
- Fix the issue that the recycling of db conn is block because
rollback
is not called in MySQL sink #1285
- Fix the
Dumpling
- Avoid TiDB out of memory (OOM) by setting the default behavior of
tidb_mem_quota_query
#233
- Avoid TiDB out of memory (OOM) by setting the default behavior of
Backup & Restore (BR)
TiDB Binlog
- Fix the issue that when the
AMEND TRANSACTION
feature is enabled, Drainer might choose the incorrect schema version to generate SQL statements #1033
- Fix the issue that when the
TiDB Lightning