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

add v6.4 release notes #11245

Merged
merged 44 commits into from
Nov 17, 2022
Merged

add v6.4 release notes #11245

merged 44 commits into from
Nov 17, 2022

Conversation

qiancai
Copy link
Collaborator

@qiancai qiancai commented Nov 9, 2022

First-time contributors' checklist

What is changed, added or deleted? (Required)

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

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v6.4 (TiDB 6.4 versions)
  • v6.3 (TiDB 6.3 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)
  • v5.3 (TiDB 5.3 versions)
  • v5.2 (TiDB 5.2 versions)
  • v5.1 (TiDB 5.1 versions)
  • v5.0 (TiDB 5.0 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
Copy link
Member

ti-chi-bot commented Nov 9, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • TomShawn
  • hfxsd

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 submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added missing-translation-status This PR does not have translation status info. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 9, 2022
@qiancai qiancai added translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. v6.4 This PR/issue applies to TiDB v6.4. for-release This PR relates to a TiDB release but does not have a tracked feature. and removed missing-translation-status This PR does not have translation status info. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Nov 9, 2022
@ti-chi-bot ti-chi-bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Nov 9, 2022
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
Comment on lines 363 to 372
- 修复新建索引之后有可能导致的数据索引不一致的问题 [#38165](https://github.com/pingcap/tidb/issues/38165) @[tangenta](https://github.com/tangenta)
- 修复关于 `information_schema.TIKV_REGION_STATUS` 表的权限问题 [#38407](https://github.com/pingcap/tidb/issues/38407) @[CbcWestwolf](https://github.com/CbcWestwolf)
- 修复 CTE 在 join 时可能得到错误结果的问题 [#38170](https://github.com/pingcap/tidb/issues/38170) @[wjhuang2016](https://github.com/wjhuang2016)
- 修复 CTE 在 union 时可能得到错误结果的问题 [#37928](https://github.com/pingcap/tidb/issues/37928) @[YangKeao](https://github.com/YangKeao)
- 修复监控 transaction region num panel 信息不准确问题 [#38139](https://github.com/pingcap/tidb/issues/38139) @[jackysp](github.com/jackysp)
- 修复 [`tidb_constraint_check_in_place_pessimistic`](/system-variables.md#tidb_constraint_check_in_place_pessimistic-从-v630-版本开始引入) 可能影响内部事务问题,修改该变量作用域为 session [#38766](https://github.com/pingcap/tidb/issues/38766)
- 修复了条件在某些场景下被错误下推 projection 的问题 [#35623](https://github.com/pingcap/tidb/issues/35623)@[Reminiscent](https://github.com/Reminiscent)
- 修复了 `AND` `OR` 条件的 `isNullRejected` 的错误导致查询结果错误的问题 [#38304]( https://github.com/pingcap/tidb/issues/38304) @[Yisaer](https://github.com/Yisaer)
- 修复了外连接消除时没有考虑 `GROUP_CONCAT` 内部的 `order by` 导致查询出错的问题 [#18216](https://github.com/pingcap/tidb/issues/18216) @[winoros](https://github.com/winoros)
- 修复了错误下推的条件被 join reorder 丢弃后导致查询结果错误的问题 [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros)
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
- 修复新建索引之后有可能导致的数据索引不一致的问题 [#38165](https://github.com/pingcap/tidb/issues/38165) @[tangenta](https://github.com/tangenta)
- 修复关于 `information_schema.TIKV_REGION_STATUS` 表的权限问题 [#38407](https://github.com/pingcap/tidb/issues/38407) @[CbcWestwolf](https://github.com/CbcWestwolf)
- 修复 CTE 在 join 时可能得到错误结果的问题 [#38170](https://github.com/pingcap/tidb/issues/38170) @[wjhuang2016](https://github.com/wjhuang2016)
- 修复 CTE 在 union 时可能得到错误结果的问题 [#37928](https://github.com/pingcap/tidb/issues/37928) @[YangKeao](https://github.com/YangKeao)
- 修复监控 transaction region num panel 信息不准确问题 [#38139](https://github.com/pingcap/tidb/issues/38139) @[jackysp](github.com/jackysp)
- 修复 [`tidb_constraint_check_in_place_pessimistic`](/system-variables.md#tidb_constraint_check_in_place_pessimistic-从-v630-版本开始引入) 可能影响内部事务问题,修改该变量作用域为 session [#38766](https://github.com/pingcap/tidb/issues/38766)
- 修复了条件在某些场景下被错误下推 projection 的问题 [#35623](https://github.com/pingcap/tidb/issues/35623)@[Reminiscent](https://github.com/Reminiscent)
- 修复了 `AND` `OR` 条件的 `isNullRejected` 的错误导致查询结果错误的问题 [#38304]( https://github.com/pingcap/tidb/issues/38304) @[Yisaer](https://github.com/Yisaer)
- 修复了外连接消除时没有考虑 `GROUP_CONCAT` 内部的 `order by` 导致查询出错的问题 [#18216](https://github.com/pingcap/tidb/issues/18216) @[winoros](https://github.com/winoros)
- 修复了错误下推的条件被 join reorder 丢弃后导致查询结果错误的问题 [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros)
- Fix the potential issue of index consistency that occurs after creating a new index [#38165](https://github.com/pingcap/tidb/issues/38165) @[tangenta](https://github.com/tangenta)
- Fix a permission issue of the `information_schema.TIKV_REGION_STATUS` table [#38407](https://github.com/pingcap/tidb/issues/38407) @[CbcWestwolf](https://github.com/CbcWestwolf)
- Fix the issue that the join result of common table expressions might be wrong [#38170](https://github.com/pingcap/tidb/issues/38170) @[wjhuang2016](https://github.com/wjhuang2016)
- Fix the issue that the union result of common table expressions might be wrong [#37928](https://github.com/pingcap/tidb/issues/37928) @[YangKeao](https://github.com/YangKeao)
- Fix the issue that the information in the **transaction region num** monitoring panel is incorrect [#38139](https://github.com/pingcap/tidb/issues/38139) @[jackysp](https://github.com/jackysp)
- Fix the issue that the system variable [`tidb_constraint_check_in_place_pessimistic`](/system-variables.md#tidb_constraint_check_in_place_pessimistic-new-in-v630) might affect internal transactions. The variable scope is modified to SESSION. [#38766](https://github.com/pingcap/tidb/issues/38766)
- Fix the issue that conditions in a query are mistakenly pushed down to projections [#35623](https://github.com/pingcap/tidb/issues/35623)@[Reminiscent](https://github.com/Reminiscent)
- Fix the issue that the wrong `isNullRejected` check results for `AND` and `OR` cause wrong query result [#38304]( https://github.com/pingcap/tidb/issues/38304) @[Yisaer](https://github.com/Yisaer)
- Fix the issue that `ORDER BY` in `GROUP_CONCAT` is not considered when the outer join is eliminated, which causes wrong query result [#18216](https://github.com/pingcap/tidb/issues/18216) @[winoros](https://github.com/winoros)
- Fix the issue of wrong query result that occurs when the mistakenly pushed-down conditions are discarded by join reorder [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros)

releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
Co-authored-by: Aolin <aolinz@outlook.com>

TiDB v6.4.0 enables the synchronously loading statistics feature by default. This feature allows TiDB to synchronously load large-sized statistics (such as histograms, TopN, and Count-Min Sketch statistics) into memory when you execute SQL statements, which improves the completeness of statistics for SQL optimization.

[User document](/system-variable.md#tidb_stats_load_sync_wait-new-in-v540)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
[User document](/system-variable.md#tidb_stats_load_sync_wait-new-in-v540)
[User document](/system-variables.md#tidb_stats_load_sync_wait-new-in-v540)

releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
releases/release-6.4.0.md Outdated Show resolved Hide resolved
@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Nov 17, 2022
@qiancai
Copy link
Collaborator Author

qiancai commented Nov 17, 2022

/merge

@ti-chi-bot
Copy link
Member

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

Commit hash: 96a5dfc

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Nov 17, 2022
@ti-chi-bot ti-chi-bot merged commit d4fc863 into pingcap:master Nov 17, 2022
@ti-chi-bot ti-chi-bot mentioned this pull request Nov 17, 2022
14 tasks
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #11346.

qiancai added a commit that referenced this pull request Nov 17, 2022
* Create release-6.4.0.md

* Update release-6.4.0.md

* Apply suggestions from code review

* Apply suggestions from code review

* add translations

* Apply suggestions from code review

* add translation

* update improvements, bug fixes, contributors using the latest Chinese version

* translate dm, ticdc, and br new features

* add translation for compatibility changes

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: xixirangrang <hfxsd@hotmail.com>

* update tikv and pd sections

* Update releases/release-6.4.0.md

* Update releases/release-6.4.0.md

* Update releases/release-6.4.0.md

* Apply suggestions from code review

Co-authored-by: shichun-0415 <89768198+shichun-0415@users.noreply.github.com>

* Apply suggestions from code review

* add translation of improvements and bug fixes (TiFlash, TiDB Lightning, and TiDB Dashboard)

* Update releases/release-6.4.0.md

* apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Grace Cai <qqzczy@126.com>

* Apply suggestions from code review

Co-authored-by: xixirangrang <hfxsd@hotmail.com>

* add translation for key features

Co-authored-by: Ran <huangran.alex@gmail.com>

* Update releases/release-6.4.0.md

* Apply suggestions from code review

* Update releases/release-6.4.0.md

Co-authored-by: shichun-0415 <89768198+shichun-0415@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Aolin <aolinz@outlook.com>
Co-authored-by: shichun-0415 <89768198+shichun-0415@users.noreply.github.com>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>

* remove duplicate white spaces

* Apply suggestions from code review

Co-authored-by: Daniël van Eeden <github@myname.nl>
Co-authored-by: Aolin <aolinz@outlook.com>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>

* add new updates

* remove the writer information

* Update release-6.4.0.md

* Apply suggestions from code review

Co-authored-by: Ping Yu <shui.yu@126.com>

* fix typo

* Apply suggestions from code review

Co-authored-by: Aolin <aolinz@outlook.com>

* unify the format of user document reference

* Update releases/release-6.4.0.md

* fix broken links

* fix some errors

* Update release-6.4.0.md

* Apply suggestions from code review

* Update releases/release-6.4.0.md

Co-authored-by: qiancai <qqzczy@126.com>
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Co-authored-by: Ran <huangran.alex@gmail.com>
Co-authored-by: Aolin <aolin.zhang@pingcap.com>
Co-authored-by: shichun-0415 <lishichun@pingcap.com>
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
Co-authored-by: Aolin <aolinz@outlook.com>
Co-authored-by: shichun-0415 <89768198+shichun-0415@users.noreply.github.com>
Co-authored-by: Daniël van Eeden <github@myname.nl>
Co-authored-by: Ping Yu <shui.yu@126.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for-release This PR relates to a TiDB release but does not have a tracked feature. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. v6.4 This PR/issue applies to TiDB v6.4.
Projects
None yet
Development

Successfully merging this pull request may close these issues.