Skip to content

releases: add tidb 5.0.1 release notes#5392

Merged
ti-chi-bot merged 19 commits intopingcap:masterfrom
ti-srebot:update-5.0.1
Apr 24, 2021
Merged

releases: add tidb 5.0.1 release notes#5392
ti-chi-bot merged 19 commits intopingcap:masterfrom
ti-srebot:update-5.0.1

Conversation

@ti-srebot
Copy link
Copy Markdown
Contributor

update tidb v5.0.1 release notes

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-chi-bot ti-chi-bot requested a review from TomShawn April 19, 2021 08:56
@ti-chi-bot ti-chi-bot added missing-translation-status This PR does not have translation status info. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 19, 2021
@TomShawn
Copy link
Copy Markdown
Contributor

/label needs-cherry-pick-5.0
/translation done
/hold

@ti-chi-bot ti-chi-bot added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. 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
Copy Markdown
Contributor

This PR is translated in pingcap/docs-cn#6061.

@TomShawn
Copy link
Copy Markdown
Contributor

/retitle releases: add tidb 5.0.1 release notes

@ti-chi-bot ti-chi-bot changed the title update tidb v5.0.1 release notes releases: add tidb 5.0.1 release notes Apr 19, 2021
@TomShawn
Copy link
Copy Markdown
Contributor

/assign @solotzg @5kbpers

@TomShawn
Copy link
Copy Markdown
Contributor

/assign @overvenus @nolouch

Comment thread releases/release-5.0.1.md Outdated
- 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
Copy Markdown

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)

Comment thread releases/release-5.0.1.md
## New Features

## Improvements

Copy link
Copy Markdown

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)

Comment thread releases/release-5.0.1.md Outdated
Comment on lines +57 to +63
+ 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)
- Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005)
- 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
Copy Markdown

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)
- Use `zstd` to compress the snapshot [#10005](https://github.com/tikv/tikv/pull/10005)
- 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)

Comment thread releases/release-5.0.1.md Outdated
- Append common handle columns into the schema of index merge table plan [#24042](https://github.com/pingcap/tidb/pull/24042)
- Fix type merge about bit type. [#24027](https://github.com/pingcap/tidb/pull/24027)
- Planner: fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918)
- Planner: fix the issue that planner hints don't work in some batch/point-get plans [#23685](https://github.com/pingcap/tidb/pull/23685)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
- Planner: 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 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)

Comment thread releases/release-5.0.1.md Outdated
- 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 type merge about bit type. [#24027](https://github.com/pingcap/tidb/pull/24027)
- Planner: fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
- Planner: fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918)
- Fix wrong TableDual plans caused by comparing Binary and Bytes incorrectly [#23918](https://github.com/pingcap/tidb/pull/23918)

Comment thread releases/release-5.0.1.md Outdated
- 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 type merge about bit type. [#24027](https://github.com/pingcap/tidb/pull/24027)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
- Fix type merge about bit type. [#24027](https://github.com/pingcap/tidb/pull/24027)
- Fix the type merging about BIT type [#24027](https://github.com/pingcap/tidb/pull/24027)

Comment thread releases/release-5.0.1.md Outdated
Comment on lines +48 to +55
+ TiDB

- Ddl: fix the covert job to rollingback job [#24080](https://github.com/pingcap/tidb/pull/24080)
- `Fix performance regression of point select.` [#24070](https://github.com/pingcap/tidb/pull/24070)
- 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)
- Users now need both Insert and Delete privileges on a table to perform REPLACE. [#23939](https://github.com/pingcap/tidb/pull/23939)
- Fix some string function get wrong result [#23879](https://github.com/pingcap/tidb/pull/23879)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
+ TiDB
- Ddl: fix the covert job to rollingback job [#24080](https://github.com/pingcap/tidb/pull/24080)
- `Fix performance regression of point select.` [#24070](https://github.com/pingcap/tidb/pull/24070)
- 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)
- Users now need both Insert and Delete privileges on a table to perform REPLACE. [#23939](https://github.com/pingcap/tidb/pull/23939)
- Fix some string function get wrong result [#23879](https://github.com/pingcap/tidb/pull/23879)

@TomShawn
Copy link
Copy Markdown
Contributor

/unassign @overvenus
/assign @3pointer

@ti-chi-bot ti-chi-bot assigned 3pointer and unassigned overvenus Apr 20, 2021
Comment thread releases/release-5.0.1.md
- Planner: fix the issue that planner hints don't work in some batch/point-get plans [#23685](https://github.com/pingcap/tidb/pull/23685)

+ TiFlash

Copy link
Copy Markdown
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

Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
@ti-chi-bot
Copy link
Copy Markdown
Member

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

Details

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.

Co-authored-by: Grace Cai <qqzczy@126.com>
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Comment thread releases/release-5.0.1.md Outdated
Co-authored-by: Grace Cai <qqzczy@126.com>
@qiancai
Copy link
Copy Markdown
Collaborator

qiancai commented Apr 23, 2021

/lgtm

@ti-chi-bot
Copy link
Copy Markdown
Member

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

Details

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.

Comment thread releases/release-5.0.1.md Outdated
@TomShawn
Copy link
Copy Markdown
Contributor

/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
Copy Markdown
Contributor

/merge

@ti-chi-bot
Copy link
Copy Markdown
Member

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

DetailsCommit hash: b104678

@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 f8dd6b0 into pingcap:master Apr 24, 2021
ti-srebot added a commit to ti-srebot/docs that referenced this pull request Apr 24, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Copy Markdown
Contributor Author

cherry pick to release-5.0 in PR #5458

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/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.