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 5.0.1 release notes #5392

Merged
merged 19 commits into from
Apr 24, 2021
Merged
Show file tree
Hide file tree
Changes from 3 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 @@ -537,6 +537,7 @@
+ [All Releases](/releases/release-notes.md)
+ [TiDB Roadmap](/roadmap.md)
+ v5.0
+ [5.0.1](/releases/release-5.0.1.md)
+ [5.0 GA](/releases/release-5.0.0.md)
+ [5.0.0-rc](/releases/release-5.0.0-rc.md)
+ v4.0
Expand Down
86 changes: 86 additions & 0 deletions releases/release-5.0.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
title: TiDB 5.0.1 Release Notes
---

# TiDB 5.0.1 Release Notes

Release date: April 23, 2021
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

TiDB version: 5.0.1

## Compatibility Changes

## New Features

## Improvements

Copy link

Choose a reason for hiding this comment

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

Suggested change
+ TiKV
- Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005)

Copy link
Contributor

@3pointer 3pointer Apr 20, 2021

Choose a reason for hiding this comment

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

Suggested change
+Tools
- BR
* Fix the issue that the summary log is not clear. [#1009](https://github.com/pingcap/br/pull/1009)

+ TiKV

- Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005)

## Bug Fixes

+ TiDB

- Do not prune all columns for Projection [#24093](https://github.com/pingcap/tidb/pull/24093)
- Fix wrong query result when column contains null values [#24063](https://github.com/pingcap/tidb/pull/24063)
- Do not build MPP plan for scan with virtual columns [#24058](https://github.com/pingcap/tidb/pull/24058)
- Fix wrong PointGet / TableDual plan reused in plan cache [#24043](https://github.com/pingcap/tidb/pull/24043)
- Append common handle columns into the schema of index merge table plan [#24042](https://github.com/pingcap/tidb/pull/24042)
- Fix the type merging about BIT type [#24027](https://github.com/pingcap/tidb/pull/24027)
- Fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918)
- Fix the issue that planner hints don't work in some batch/point-get plans [#23685](https://github.com/pingcap/tidb/pull/23685)
- Fix the cases that DDL would parse the args failed when converting job status to rolling back [#24080](https://github.com/pingcap/tidb/pull/24080)
- Fix range building for binary literal [#24041](https://github.com/pingcap/tidb/pull/24041)
- Fix wrong results for in clause [#24023](https://github.com/pingcap/tidb/pull/24023)
- Fix the wrong result of some string functions [#23879](https://github.com/pingcap/tidb/pull/23879)
- Users now need both INSERT and DELETE privileges on a table to perform REPLACE [#23939](https://github.com/pingcap/tidb/pull/23939)
- Fix performance regression of point select [#24070](https://github.com/pingcap/tidb/pull/24070)

+ TiKV

- Fix IN expr(coprocessor) didn't handle unsigned/signed int properly [#10018](https://github.com/tikv/tikv/pull/10018)
- Fix the issue that there are lots of empty regions after batch ingest. [#10015](https://github.com/tikv/tikv/pull/10015)
- Fix potential panics when input of cast_string_as_time is invalid UTF-8 bytes [#9995](https://github.com/tikv/tikv/pull/9995)
- Fix the bug that TiKV cannot startup when the end of file dict file is damaged. [#9992](https://github.com/tikv/tikv/pull/9992)

Copy link
Contributor

@3pointer 3pointer Apr 20, 2021

Choose a reason for hiding this comment

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

Suggested change
+ Tools
- Lightning
* Fix the bug that the table count in the progress log is wrong. [#1005](https://github.com/pingcap/br/pull/1005)
- BR
* Fix the bug that caused the real backup speed may go beyond far the `--ratelimit`. [#1026](https://github.com/pingcap/br/pull/1026)
* Fix the issue that BR cannot tolerate minor TiKV disconnection. [#1019](https://github.com/pingcap/br/pull/1019)
- TiCDC
* Fix data race and unhelpful error message in unified sorter. [#1678](https://github.com/pingcap/ticdc/pull/1678)
* Fix the bug that redundant directory creation may cause replication interruption with minio. [#1672]
* Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659)
* Fix the error handling for io.EOF may cause replication interruption. [#1648](https://github.com/pingcap/ticdc/pull/1648)
* Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645)
* Increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632)

+ TiFlash

Copy link
Contributor

Choose a reason for hiding this comment

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

- Fix the potential issue that storage engine fails to remove some data while executing `DeleteRange`
- Fix a bug that the function to cast time as int may produce incorrect result
- Fix a bug that receiver cannot find tasks within 10s
- Fix the potential issue that there may be invalid iterators in `cancelMPPQuery`
- Fix a bug that behavior of `bitwise` operator is different from TiDB
- Fix the issue that alert about overlapped ranges will be raised when using prefix key
- Fix a bug that the function to cast string as int may produce incorrect result
- Fix the issue that continuous and fast writing may make TiFlash OOM
- Fix the issue that duplicated column name will make TiFlash raise error
- Fix the issue that TiFlash fails to decode MPP plan
- Fix the potential issue that null pointer exception may be raised during table GC
- Fix the issue that TiFlash may panic while applying raft commands to dropped tables
- Fix the issue that TiFlash may panic during BR restore

- Fix a potential issue that the DeleteRange in the storage engine failed to remove some data. [#1790](https://github.com/pingcap/tics/pull/1790)
- Fix problem that TiFlash coprocessor's cast time as int function may produce incorrect result. [#1786](https://github.com/pingcap/tics/pull/1786)
- Fix the bug that receiver cannot find tasks within 10s. [#1784](https://github.com/pingcap/tics/pull/1784)
- Fix potential invalid iterator in cancelMPPQuery [#1777](https://github.com/pingcap/tics/pull/1777)
- Fix problem that behavior of TiFlash coprocessor's bitwise operator is different from TiDB [#1774](https://github.com/pingcap/tics/pull/1774)
- Fix false alert of overlapped ranges if prefix next key is used [#1771](https://github.com/pingcap/tics/pull/1771)
- Fix the problem that TiFlash coprocessor's cast string as int function may produce incorrect result. [#1768](https://github.com/pingcap/tics/pull/1768)
- Fix the issue that continuous and fast writing may make TiFlash OOM [#1739](https://github.com/pingcap/tics/pull/1739)
- Fix bug that duplicated column name will make TiFlash throw error. [#1732](https://github.com/pingcap/tics/pull/1732)
- Support complex query plan tree with a max depth of 100. [#1722](https://github.com/pingcap/tics/pull/1722)
- Fix potential NPE in schema sync service when database is dropped between GC and getting the database info. [#1708](https://github.com/pingcap/tics/pull/1708)
- Fix the crash that causes by applying Raft commands to dropped tables [#1702](https://github.com/pingcap/tics/pull/1702)
- Fix the issue that TiFlash may panic during br restore [#1698](https://github.com/pingcap/tics/pull/1698)

Copy link

Choose a reason for hiding this comment

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

Suggested change
+ TiKV
- Fix IN expr(coprocessor) didn't handle unsigned/signed int properly [#10018](https://github.com/tikv/tikv/pull/10018)
- Fix the issue that there are lots of empty regions after batch ingest. [#10015](https://github.com/tikv/tikv/pull/10015)
- Fix potential panics when input of cast_string_as_time is invalid UTF-8 bytes [#9995](https://github.com/tikv/tikv/pull/9995)
- Fix the bug that TiKV cannot startup when the end of file dict file is damaged. [#9992](https://github.com/tikv/tikv/pull/9992)

## 下面是未分类的 notes。请对以下 notes 分为 [New Features](#new-features)、[Compatibility Changes](#compatibility-changes)、[Improvements](#improvements)、[Bug Fixes](#bug-fixes) 四类,并移动到上面对应的标题下面。如果 Notes 多余,请进行移除。

+ PD

- Modify score calculator to satisfy isomerous stores [#3605](https://github.com/pingcap/pd/pull/3605)
- Avoid unexpected statistic modify after adding scatter region scheduler [#3602](https://github.com/pingcap/pd/pull/3602)

+ Tools

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

TomShawn marked this conversation as resolved.
Show resolved Hide resolved
* BR now can tolerate minor TiKV disconnection. [#1019](https://github.com/pingcap/br/pull/1019)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
* Summary now become more clear. [#1009](https://github.com/pingcap/br/pull/1009)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved

- TiCDC

* Fix Unified Sorter returning unhelpful error messages & other misc. fixes. [#1678](https://github.com/pingcap/ticdc/pull/1678)
amyangfei marked this conversation as resolved.
Show resolved Hide resolved
* S3Sink: cancel create existing table directory on s3 when initialize s3Sink to avoid uploading objects faild [#1672](https://github.com/pingcap/ticdc/pull/1672)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
* Fix text type decode for old row format [#1669](https://github.com/pingcap/ticdc/pull/1669)
amyangfei 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.

Suggested change
* Fix text type decode for old row format [#1669](https://github.com/pingcap/ticdc/pull/1669)

* No release note (this bug is never released) [#1667](https://github.com/pingcap/ticdc/pull/1667)
TomShawn marked this conversation as resolved.
Show resolved Hide resolved
* Set session variable `explicit_defaults_for_timestamp` to `ON` to make downstream MySQL5.7 keeps the same behavior with upstream TiDB. [#1659](https://github.com/pingcap/ticdc/pull/1659)
* Fix the error handling for io.EOF may cause replication interuption. [#1648](https://github.com/pingcap/ticdc/pull/1648)
amyangfei marked this conversation as resolved.
Show resolved Hide resolved
* Correct TiKV CDC endpoint CPU metric in TiCDC dashboard. [#1645](https://github.com/pingcap/ticdc/pull/1645)
* S3 sink: increase the defaultBufferChanSize of logSink to avoid blocking [#1632](https://github.com/pingcap/ticdc/pull/1632)
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/']

## 5.0

- [5.0.1](/releases/release-5.0.1.md)
- [5.0 GA](/releases/release-5.0.0.md)
- [5.0.0-rc](/releases/release-5.0.0-rc.md)

Expand Down