Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

releases: add tidb 4.0.10 release notes #4608

Merged
merged 9 commits into from
Jan 15, 2021
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@
+ v5.0
+ [5.0.0-rc](/releases/release-5.0.0-rc.md)
+ v4.0
+ [4.0.10](/releases/release-4.0.10.md)
+ [4.0.9](/releases/release-4.0.9.md)
+ [4.0.8](/releases/release-4.0.8.md)
+ [4.0.7](/releases/release-4.0.7.md)
Expand Down
110 changes: 110 additions & 0 deletions releases/release-4.0.10.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
---
title: TiDB 4.0.10 Release Notes
---

# TiDB 4.0.10 Release Notes

Release date: January 15, 2021

TiDB version: 4.0.10

## New Features

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
+ PD

- Add the `enable-redact-log` configuration item to enable log redaction [#3266](https://github.com/pingcap/pd/pull/3266)

+ TiFlash

- Add the `security.redact_info_log` configuration item to redact user data from logs

## Improvements

+ TiDB

- Make the size limit of transaction entries configurable [#21843](https://github.com/pingcap/tidb/pull/21843)

+ PD

- Optimize the store state filter metrics [#3100](https://github.com/tikv/pd/pull/3100)
- Upgrade `go.etcd.io/bbolt` to v1.3.5 [#3331](https://github.com/tikv/pd/pull/3331)

+ Tools

+ TiCDC

- Enable the old value feature if the protocol is `maxwell` [#1144](https://github.com/pingcap/ticdc/pull/1144)
- Enable the unified sorter feature by default [#1230](https://github.com/pingcap/ticdc/pull/1230)

+ Dumpling

- Support checking unrecognized arguments and printing the current progress during dumping [#228](https://github.com/pingcap/dumpling/pull/228)

+ TiDB Lightning

- Support retrying S3 reads on error [#533](https://github.com/pingcap/tidb-lightning/pull/533)

## Bug Fixes

+ TiDB

- Fix a concurrency bug that might cause the batch client timeout [#22336](https://github.com/pingcap/tidb/pull/22336)
- Avoid duplicate bindings caused by concurrent baseline capture [#22295](https://github.com/pingcap/tidb/pull/22295)
- Make the baseline capture work when the log level is `'debug'` [#22293](https://github.com/pingcap/tidb/pull/22293)
- Correct GC locks when Region merge occurs during scanning and resolving locks [#22267](https://github.com/pingcap/tidb/pull/22267)
- Return correct results for user variables of the `datetime` type [#22143](https://github.com/pingcap/tidb/pull/22143)
- Avoid using index merge when there are multiple table filters [#22124](https://github.com/pingcap/tidb/pull/22124)
- Fix the `wrong precision` issue in TiFlash caused by the prepare plan cache [#21960](https://github.com/pingcap/tidb/pull/21960)
- Fix a bug that the schema change causes incorrect results [#21596](https://github.com/pingcap/tidb/pull/21596)
- Avoid unnecessary column flag changes incurred by `ALTER TABLE` [#21474](https://github.com/pingcap/tidb/pull/21474)
- Set the database name for table aliases of query blocks used in optimizer hints [#21380](https://github.com/pingcap/tidb/pull/21380)
- Generate the proper hint for `IndexHashJoin`/`IndexMergeJoin` [#21020](https://github.com/pingcap/tidb/pull/21020)

+ TiKV

- Fix the wrong mapping between ready and peer [#9409](https://github.com/tikv/tikv/pull/9409)
- Fix the issue that some logs are not redacted when `security.redact-info-log` is set to `true` [#9314](https://github.com/tikv/tikv/pull/9314)

+ PD
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

- Fix the issue that the ID allocation is not monotonic [#3308](https://github.com/tikv/pd/pull/3308) [#3323](https://github.com/tikv/pd/pull/3323)
- Fix the issue that the PD client might be blocked in some cases [#3285](https://github.com/pingcap/pd/pull/3285)

+ TiFlash

- Fix the issue that TiFlash fails to start because TiFlash fails to process the TiDB schema with 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 `true`
- 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 issues, including the `base64` data output and output TSO to unix timestamp [#1173](https://github.com/pingcap/ticdc/pull/1173)
- Fix a bug that outdated metadata might cause the newly created changefeed abnormal [#1184](https://github.com/pingcap/ticdc/pull/1184)
- Fix create receiver on closed notifier [#1199](https://github.com/pingcap/ticdc/pull/1199)
- Fix memory accumulated when owner consume etcd update slow [#1227](https://github.com/pingcap/ticdc/pull/1227)
- Fix the issue that `max-batch-size` does not take effect [#1253](https://github.com/pingcap/ticdc/pull/1253)
- Fix cleanup stale tasks before capture information is constructed [#1280](https://github.com/pingcap/ticdc/pull/1280)
- Roll back transactions to recycle db conn for MySQL sink [#1285](https://github.com/pingcap/ticdc/pull/1285)

+ Dumpling

- Do not set `tidb_mem_quota_query` when it is not specified to avoid TiDB OOM [#233](https://github.com/pingcap/dumpling/pull/233)

+ Backup & Restore (BR)

- Fix the issue that BR v4.0.9 cannot restore the GCS backup files of v4.0.8 [#688](https://github.com/pingcap/br/pull/688)
- Fix the issue that BR panics when the GCS storage URL has no prefix [#673](https://github.com/pingcap/br/pull/673)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

+ TiDB Binlog

- Fix the issue that when the amend transaction feature is enabled, Drainer chooses the wrong schema version of DDL to generate the wrong SQL statement [#1033](https://github.com/pingcap/tidb-binlog/pull/1033)

+ TiDB Lightning

- Fix a bug that the retry scan region key is not encoded, which causes the retried Region is not split [#531](https://github.com/pingcap/tidb-lightning/pull/531)
- Fix a bug that lost create table error during multiple tables created [#530](https://github.com/pingcap/tidb-lightning/pull/530)
- Fix the bug that lightning will trim all the empty sep when trim-last-sep is true, which causes "column count mismatch" in tidb backend [#535](https://github.com/pingcap/tidb-lightning/pull/535)
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ aliases: ['/docs/dev/releases/release-notes/','/docs/dev/releases/rn/']

## 4.0

- [4.0.10](/releases/release-4.0.10.md)
- [4.0.9](/releases/release-4.0.9.md)
- [4.0.8](/releases/release-4.0.8.md)
- [4.0.7](/releases/release-4.0.7.md)
Expand Down