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

Conversation

ti-srebot
Copy link
Contributor

update tidb v5.0.1 release notes

@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
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
Contributor

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

@TomShawn
Copy link
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
Contributor

/assign @solotzg @5kbpers

@TomShawn
Copy link
Contributor

/assign @overvenus @nolouch

- 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)

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

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

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)

- 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
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)

- 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
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)

- 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
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 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
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
Contributor

/unassign @overvenus
/assign @3pointer

@ti-chi-bot ti-chi-bot assigned 3pointer and unassigned overvenus Apr 20, 2021
- 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
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

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
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
@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
@TomShawn
Copy link
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
Contributor

/merge

@ti-chi-bot
Copy link
Member

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

Commit 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
@ti-srebot
Copy link
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.