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 #6061

Merged
merged 16 commits into from
Apr 24, 2021

Conversation

TomShawn
Copy link
Contributor

@TomShawn TomShawn commented Apr 19, 2021

What is changed, added or deleted? (Required)

Add tidb 5.0.1 release notes

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v5.0 (TiDB 5.0 versions)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot added missing-translation-status This PR does not have translation status info. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 19, 2021
@TomShawn
Copy link
Contributor Author

/label needs-cherry-pick-5.0
/translation from-docs
/hold

@ti-chi-bot ti-chi-bot added translation/from-docs This PR is translated from a PR in pingcap/docs. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-cherry-pick-5.0 and removed missing-translation-status This PR does not have translation status info. labels Apr 19, 2021
@TomShawn
Copy link
Contributor Author

/assign @solotzg @5kbpers

@TomShawn
Copy link
Contributor Author

/assign @overvenus @nolouch

## 新功能

## 改进提升

Copy link
Contributor

Choose a reason for hiding this comment

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

  • TiKV
    • 使用 zstd 压缩 Region Snapshot #10005


## 改进提升

## Bug 修复
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
## Bug 修复
## Bug 修复
+ TiKV
- 修复了 coprocessor 的 IN 表达式未正确处理 unsigned/signed int 类型数据的问题 [#10018](https://github.com/tikv/tikv/pull/10018)
- 修复了在 batch ingest SST 之后产生大量空 Region 的问题 [#10015](https://github.com/tikv/tikv/pull/10015)
- 修复了 `cast_string_as_time` 输入非法的 UTF-8 值之和导致 panic 的问题 [#9995](https://github.com/tikv/tikv/pull/9995)
- 修复了“文件目录”文件损坏之后 TiKV 无法启动的问题 [#9992](https://github.com/tikv/tikv/pull/9992)


## 改进提升

## Bug 修复
Copy link
Member

@winoros winoros 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
## Bug 修复
## Bug 修复
+ TiDB
- 修复投影消除在投影结果为空时执行结果可能错误的问题 [#24093](https://github.com/pingcap/tidb/pull/24093)
- 修复某些情况下列允许为 NULL 时执行结果可能错误的问题 [#24063](https://github.com/pingcap/tidb/pull/24063)
- 当有虚拟列参与运算时不允许生成 MPP 计划 [#24058](https://github.com/pingcap/tidb/pull/24058)
- 修复 Plan Cache 中对 PointGet 和 TableDual 错误的重复使用 [#24043](https://github.com/pingcap/tidb/pull/24043)
- IndexMerge 算子需要保留聚簇索引的输出 [#24042](https://github.com/pingcap/tidb/pull/24042)
- 修复 BIT 类型相关的错误的类型推导 [#24027](https://github.com/pingcap/tidb/pull/24027)
- 修复某些优化器 hint 在 PointGet 算子存在时无法生效的问题 [#23685](https://github.com/pingcap/tidb/pull/23685)
- 修复某些情况下 DDL job 在将状态设置外 rolling back 时可能的参数解析失败的问题 [#24080](https://github.com/pingcap/tidb/pull/24080)
- 修复二进制字面值常量的索引范围构造错误的问题 [#24041](https://github.com/pingcap/tidb/pull/24041)
- 修复某些情况下 IN 语句执行结果可能错误的问题 [#24023](https://github.com/pingcap/tidb/pull/24023)
- 修复某些字符串函数返回结果错误的问题 [#23879](https://github.com/pingcap/tidb/pull/23879)
- 执行 REPLACE 语句需要用户同时拥有 INSERT 和 DELETE 的权限 [#23939](https://github.com/pingcap/tidb/pull/23939)
- 修复点差时的性能回退 [#24070](https://github.com/pingcap/tidb/pull/24070)

@TomShawn
Copy link
Contributor Author

/unassign @overvenus
/assign @3pointer

@ti-chi-bot ti-chi-bot assigned 3pointer and unassigned overvenus Apr 20, 2021
@ti-chi-bot ti-chi-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 20, 2021

- 使用 `zstd` 压缩 Region Snapshot [#10005](https://github.com/tikv/tikv/pull/10005)

## Bug 修复
Copy link
Contributor

Choose a reason for hiding this comment

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

  • TiFLash

    • 修复存储引擎无法删除某些范围数据的问题
    • 修复 time 转换为 int 时产生错误结果的问题
    • 修复 receiver 可能无法在 10 秒内找到对应任务的问题
    • 修复 cancelMPPQuery 中可能存在无效迭代器的问题
    • 修复 bitwise 操作和 TiDB 行为不一致的问题
    • 修复当使用 prefix key 时出现范围重叠报错的问题
    • 修复字符串转换为 int 时产生错误结果的问题
    • 修复连续快速写入可能导致 TiFlash OOM 的问题
    • 修复列名重复会引发报错的问题
    • 修复 MPP 执行计划无法被解析的问题
    • 修复 Table GC 时会引发空指针的问题
    • 修复向已被删除的表写数据时 TiFlash 进程崩溃的问题
    • 修复当使用 BR Restore 时 TiFlash 进程崩溃的问题

- 使用 `zstd` 压缩 Region Snapshot [#10005](https://github.com/tikv/tikv/pull/10005)

## Bug 修复

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
* 修复导入过程中进度不准确的问题. [#1005](https://github.com/pingcap/br/pull/1005)
- BR
* 修复备份时设置 ratelimit 不生效的问题. [#1026](https://github.com/pingcap/br/pull/1026)
* 修复备份时不能容忍少部分 TiKV 节点挂掉的问题. [#1019](https://github.com/pingcap/br/pull/1019)
- TiCDC
* 修复 unified sorter 中的并发问题,以及改进日志. [#1678](https://github.com/pingcap/ticdc/pull/1678)
* 修复同步到 minio 时,重复创建目录会导致同步中断的问题. [#1672]
* 默认打开 session 变量 `explicit_defaults_for_timestamp`,使得 mysql 和上游 TiDB 行为一致 . [#1659](https://github.com/pingcap/ticdc/pull/1659)
* 修复错误的处理 io.EOF 问题,导致同步中断的问题. [#1648](https://github.com/pingcap/ticdc/pull/1648)
* 修复 TiKV CDC endpoint CPU 统计信息. [#1645](https://github.com/pingcap/ticdc/pull/1645)
* 增加 defaultBufferChanSize 来避免某些情况下同步阻塞的问题 [#1632](https://github.com/pingcap/ticdc/pull/1632)

## 新功能

## 改进提升

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
* 删除 summary 日志中一些容易误解的信息. [#1009](https://github.com/pingcap/br/pull/1009)

+ TiKV

- 使用 `zstd` 压缩 Region Snapshot [#10005](https://github.com/tikv/tikv/pull/10005)

Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
+ PD
- 改善 Region 分数公式使其更适用异构集群问题 [#1009](https://github.com/pingcap/br/pull/1009)
- 避免在添加 `scatter range` 后的非预期统计行为 [#3602](https://github.com/pingcap/pd/pull/3602)

@TomShawn TomShawn requested a review from 3pointer April 23, 2021 02:11
@3pointer
Copy link
Contributor

/lgtm

@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • 3pointer

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by writing /lgtm in a comment.
Reviewer can cancel approval by writing /lgtm cancel in a comment.

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Apr 23, 2021
releases/release-5.0.1.md Outdated Show resolved Hide resolved
releases/release-5.0.1.md Outdated Show resolved Hide resolved
releases/release-5.0.1.md Outdated Show resolved Hide resolved
releases/release-5.0.1.md Outdated Show resolved Hide resolved
releases/release-5.0.1.md Outdated Show resolved Hide resolved
releases/release-5.0.1.md Outdated Show resolved Hide resolved
releases/release-5.0.1.md Outdated Show resolved Hide resolved
releases/release-5.0.1.md Outdated Show resolved Hide resolved
@ti-chi-bot
Copy link
Member

@qiancai: /lgtm cancel is only allowed for the PR author or the reviewers in list.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

releases/release-5.0.1.md Outdated Show resolved Hide resolved
@qiancai
Copy link
Collaborator

qiancai commented Apr 23, 2021

/lgtm

@ti-chi-bot
Copy link
Member

@qiancai: /lgtm is only allowed for the reviewers in list.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

releases/release-5.0.1.md Outdated Show resolved Hide resolved
releases/release-5.0.1.md Outdated Show resolved Hide resolved
@TomShawn
Copy link
Contributor Author

/unhold
/label require-LGT1

@ti-chi-bot ti-chi-bot added require-LGT1 Indicates that the PR requires an LGTM. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Apr 24, 2021
@TomShawn
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: e9c31b4

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Apr 24, 2021
@ti-chi-bot ti-chi-bot merged commit 5d14249 into pingcap:master Apr 24, 2021
ti-srebot pushed a commit to ti-srebot/docs-cn that referenced this pull request Apr 24, 2021
@ti-srebot
Copy link
Contributor

cherry pick to release-5.0 in PR #6130

@TomShawn TomShawn deleted the release-5.0.1rnpte branch April 24, 2021 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
require-LGT1 Indicates that the PR requires an LGTM. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1. translation/from-docs This PR is translated from a PR in pingcap/docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.