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.5 release notes #3541

Merged
merged 40 commits into from
Sep 1, 2020
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b4e9907
update v4.0.5 release notes at 2020-08-04T18:56:26
you06 Aug 4, 2020
86f12fd
change file name
TomShawn Aug 4, 2020
e8f9b57
Apply suggestions from code review
TomShawn Aug 5, 2020
2ef78ae
Apply suggestions from code review
TomShawn Aug 5, 2020
2a74196
Update releases/release-4.0.5.md
TomShawn Aug 5, 2020
6cd73ee
Update release-4.0.5.md
TomShawn Aug 5, 2020
799f257
Apply suggestions from code review
TomShawn Aug 5, 2020
dbfc323
Apply suggestions from code review
TomShawn Aug 5, 2020
2cd44cc
Update release-4.0.5.md
TomShawn Aug 5, 2020
5c11e2e
Apply suggestions from code review
TomShawn Aug 5, 2020
ce9b8b6
Update releases/release-4.0.5.md
TomShawn Aug 5, 2020
7fc4284
add notes from overnus
TomShawn Aug 5, 2020
4f503ee
Apply suggestions from code review
TomShawn Aug 5, 2020
93e7e10
Update releases/release-4.0.5.md
TomShawn Aug 6, 2020
8198f65
Update releases/release-4.0.5.md
TomShawn Aug 6, 2020
e53a874
Apply suggestions from code review
TomShawn Aug 6, 2020
34c2ba4
Apply suggestions from code review
TomShawn Aug 6, 2020
d749dc4
Apply suggestions from code review
TomShawn Aug 7, 2020
44cc550
Update release-4.0.5.md
TomShawn Aug 7, 2020
82c070f
refine lanuage/format
TomShawn Aug 10, 2020
19bd663
Apply suggestions from code review
TomShawn Aug 10, 2020
901a42d
Apply suggestions from code review
TomShawn Aug 10, 2020
a42347f
Update releases/release-4.0.5.md
TomShawn Aug 10, 2020
da628b2
Update releases/release-4.0.5.md
TomShawn Aug 12, 2020
9ba16ec
Update releases/release-4.0.5.md
TomShawn Aug 26, 2020
c40d919
Update releases/release-4.0.5.md
TomShawn Aug 26, 2020
d46b685
Apply suggestions from code review
TomShawn Aug 27, 2020
75d79c8
Update releases/release-4.0.5.md
TomShawn Aug 27, 2020
1781d26
Update releases/release-4.0.5.md
TomShawn Aug 27, 2020
fda9366
Update releases/release-4.0.5.md
TomShawn Aug 27, 2020
af2da54
Apply suggestions from code review
TomShawn Aug 28, 2020
066992c
Update releases/release-4.0.5.md
TomShawn Aug 28, 2020
d4dea12
Update releases/release-4.0.5.md
TomShawn Aug 28, 2020
6edcd58
Update releases/release-4.0.5.md
TomShawn Aug 28, 2020
dc67123
Update releases/release-4.0.5.md
TomShawn Aug 28, 2020
79ecb89
Merge branch 'master' into update-4.0.5
TomShawn Aug 28, 2020
ea03368
Merge branch 'master' into update-4.0.5
TomShawn Aug 31, 2020
bba5b39
Update releases/release-4.0.5.md
TomShawn Aug 31, 2020
1d5bcec
Update releases/release-4.0.5.md
TomShawn Aug 31, 2020
f38bb1c
Merge branch 'master' into update-4.0.5
TomShawn Sep 1, 2020
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 @@ -508,6 +508,7 @@
+ Release Notes
+ [All Releases](/releases/release-notes.md)
+ v4.0
+ [4.0.5](/releases/release-4.0.5.md)
+ [4.0.4](/releases/release-4.0.4.md)
+ [4.0.3](/releases/release-4.0.3.md)
+ [4.0.2](/releases/release-4.0.2.md)
Expand Down
95 changes: 95 additions & 0 deletions releases/release-4.0.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
title: TiDB 4.0.5 Release Notes
---

# TiDB 4.0.5 Release Notes

Release date: August 10, 2020
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TiDB version: 4.0.5

## Compatibility Changes

+ TiDB

- Change drop partition and truncate partition's job args to support multi partition id array [#18930](https://github.com/pingcap/tidb/pull/18930)
- Add delete only state for add partition replica check [#18865](https://github.com/pingcap/tidb/pull/18865)

## New Features

+ TiFlash

- Support standard error code [#978](https://github.com/pingcap/tics/pull/978)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

+ TiKV

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Define error code for errors [#8387](https://github.com/tikv/tikv/pull/8387)

## Improvements

+ TiDB

- Optimize the performance of decodePlan for big union query [#18941](https://github.com/pingcap/tidb/pull/18941)
- Reduce GC scan locks when meeting region cache miss [#18876](https://github.com/pingcap/tidb/pull/18876)
- Ease the impact of stats feedback on cluster [#18772](https://github.com/pingcap/tidb/pull/18772)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Support cancel before RPC response return. [#18580](https://github.com/pingcap/tidb/pull/18580)
- Add HTTP API to generate TiDB metric profile. [#18531](https://github.com/pingcap/tidb/pull/18531)
- Fix the partition table issue in table scatter API. [#17863](https://github.com/pingcap/tidb/pull/17863)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Add detailed memory usage for each instance in grafana.
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@imtbkcat 这一条 note 不带 PR 吗?

- Add runtime information for the batch-point-get executor [#18892](https://github.com/pingcap/tidb/pull/18892)
- Add executor runtime information for point-get. [#18817](https://github.com/pingcap/tidb/pull/18817)
- Warn potential deadlock for Consume in remove [#18395](https://github.com/pingcap/tidb/pull/18395)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

+ PD

- Support scattering regions in stores with special engines (like TiFlash). [#2706](https://github.com/pingcap/pd/pull/2706)
- Support Region HTTP API to promote regions schedule by given key range. [#2687](https://github.com/pingcap/pd/pull/2687)
- Improve the leader distribution after region scatter. [#2684](https://github.com/pingcap/pd/pull/2684)
- Add more tests and logs for TSO request. [#2678](https://github.com/pingcap/pd/pull/2678)
- Avoid invalid cache updates after the leader of a region has changed. [#2672](https://github.com/pingcap/pd/pull/2672)

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

- Feature: support unified log format [#977](https://github.com/pingcap/tics/pull/977)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Add some panels about IO operations on Grafana [#965](https://github.com/pingcap/tics/pull/965)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Optimize `IngestSst` by reducing persisting uncommitted region data. [#960](https://github.com/pingcap/tics/pull/960)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Accelerate regions schedule for blocked add partition ddl [#959](https://github.com/pingcap/tics/pull/959)
- Optimize the process of DeltaTree's delta data compaction to reduce unnecessary read and write amplification [#952](https://github.com/pingcap/tics/pull/952)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Optimize applying snapshot by preprocessing under multi-thread. [#944](https://github.com/pingcap/tics/pull/944)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

## Bug Fixes

+ TiDB

- Check ErrTruncate/Overflow locally for builtinCastRealAsDecimalSig to fix the "should ensure all columns have the same length" error [#18967](https://github.com/pingcap/tidb/pull/18967)
- Fix a encode bug causes the wrong result of hashJoin with set and enum [#18859](https://github.com/pingcap/tidb/pull/18859)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Fix issue `pre_split_regions` table option doesn't work in the partition table. [#18837](https://github.com/pingcap/tidb/pull/18837)
- Fixed an issue that could cause a large transaction to be terminated prematurely. [#18813](https://github.com/pingcap/tidb/pull/18813)
- Fix incorrect collator when `getSignatureByPB` and remove unnecessary recover [#18735](https://github.com/pingcap/tidb/pull/18735)
- Fix a bug `getAutoIncrementID()` function does not consider the `tidb_snapshot` session variable, this bug may cause dumper tool fail with 'table not exist' error. [#18692](https://github.com/pingcap/tidb/pull/18692)
- Fix unknown column error for sql like `select a from t having t.a` [#18434](https://github.com/pingcap/tidb/pull/18434)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Support the Action when memory exceed quota for TableReader Executor. [#18392](https://github.com/pingcap/tidb/pull/18392)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Fix a panic on hash partition table when the query condition is that the partition column equals to a big number like 9223372036854775808 [#18186](https://github.com/pingcap/tidb/pull/18186)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Refine the behavior of StrToInt and StrToFloat and support convert JSON to date, time and timestamp [#18159](https://github.com/pingcap/tidb/pull/18159)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Fix the wrong behavior of char function. [#18122](https://github.com/pingcap/tidb/pull/18122)
- Ddl: fix admin repair table with range partition expr will parseInt fail [#17988](https://github.com/pingcap/tidb/pull/17988)
- Fix wrong behavior of set charset statement [#17289](https://github.com/pingcap/tidb/pull/17289)
- Fix a bug caused by the wrong collation setting which leads to the wrong result of collation function. [#17231](https://github.com/pingcap/tidb/pull/17231)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Fix STR_TO_DATE's handling for format token '%r', '%h' [#18727](https://github.com/pingcap/tidb/pull/18727)
- Fix issues of TiDB version information formation doesn't consistent with PD/TiKV in cluster_info table. [#18413](https://github.com/pingcap/tidb/pull/18413)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

+ PD

- Fix the bug that TSO request may fail at the time of leader changing. [#2666](https://github.com/pingcap/pd/pull/2666)
- Fix the issue that when enabling placement rules, sometimes region replicas cannot schedule to optimal [#2720](https://github.com/pingcap/pd/pull/2720)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

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

+ TiFlash

- Fix the issue that TiFlash cannot start normally after upgrading from an old version if the name of the database or table contains special characters. [#971](https://github.com/pingcap/tics/pull/971)
- Fix bug: tiflash can not exit if any exception is thrown during initialization [#953](https://github.com/pingcap/tics/pull/953)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

+ TiKV

- Fix memory leak during scheduling [#8357](https://github.com/tikv/tikv/pull/8357)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
- Speed up leader election when hibernate region is enabled [#8292](https://github.com/tikv/tikv/pull/8292)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ aliases: ['/docs/dev/releases/release-notes/','/docs/dev/releases/rn/']

## 4.0

- [4.0.5](/releases/release-4.0.5.md)
- [4.0.4](/releases/release-4.0.4.md)
- [4.0.3](/releases/release-4.0.3.md)
- [4.0.2](/releases/release-4.0.2.md)
Expand Down