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 6.1.3 release notes (#11445) #11522

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
01e710e
add 6.1.3 release notes
shichun-0415 Nov 25, 2022
e036bc7
Update release-6.1.3.md
shichun-0415 Nov 28, 2022
4821ad7
correct owner
shichun-0415 Nov 28, 2022
8684eee
Update releases/release-6.1.3.md
flowbehappy Nov 30, 2022
fc61c17
Apply suggestions from code review
shichun-0415 Nov 30, 2022
bf8f17c
Update releases/release-6.1.3.md
lance6716 Nov 30, 2022
e201de1
Update releases/release-6.1.3.md
lance6716 Nov 30, 2022
c9b9c3f
add PD and TiCDC improvements, and planner bug fixes
shichun-0415 Nov 30, 2022
b932efe
Update releases/release-6.1.3.md
lance6716 Dec 1, 2022
ab0571e
Apply suggestions from code review
shichun-0415 Dec 1, 2022
dbd673d
Update release-6.1.3.md
shichun-0415 Dec 1, 2022
42ece7c
Update release-6.1.3.md
shichun-0415 Dec 1, 2022
5195f50
Apply suggestions from code review
shichun-0415 Dec 1, 2022
7febecb
bug fix: tools
Oreoxmt Dec 1, 2022
8ddfb03
Apply suggestions from code review
TomShawn Dec 2, 2022
4bf85e5
Apply suggestions from code review
TomShawn Dec 2, 2022
89ebd6b
Update releases/release-6.1.3.md
TomShawn Dec 2, 2022
27b1e28
Apply suggestions from code review
shichun-0415 Dec 2, 2022
6aa5508
Add go info
shichun-0415 Dec 2, 2022
699bfe6
Apply suggestions from code review
Oreoxmt Dec 2, 2022
a0b6b4d
Apply suggestions from code review
shichun-0415 Dec 2, 2022
e127dcd
add OOM link and finalize the RN
shichun-0415 Dec 5, 2022
73c6c79
add a link to go 1.19
shichun-0415 Dec 5, 2022
cb8e87b
add go 1.19 RN link
shichun-0415 Dec 5, 2022
bbedc04
add variable link
shichun-0415 Dec 5, 2022
a31deed
Apply suggestions from code review
shichun-0415 Dec 5, 2022
c28768e
Apply suggestions from code review
shichun-0415 Dec 5, 2022
fdb3aa1
Merge remote-tracking branch 'origin/release-6.2' into pr/11522
shichun-0415 Dec 5, 2022
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 @@ -898,6 +898,7 @@
- v6.2
- [6.2.0-DMR](/releases/release-6.2.0.md)
- v6.1
- [6.1.3](/releases/release-6.1.3.md)
- [6.1.2](/releases/release-6.1.2.md)
- [6.1.1](/releases/release-6.1.1.md)
- [6.1.0](/releases/release-6.1.0.md)
Expand Down
75 changes: 75 additions & 0 deletions releases/release-6.1.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
title: TiDB 6.1.3 Release Notes
---

# TiDB 6.1.3 Release Notes

Release date: December 5, 2022

TiDB version: 6.1.3

Quick access: [Quick start](https://docs.pingcap.com/tidb/v6.1/quick-start-with-tidb) | [Production deployment](https://docs.pingcap.com/tidb/v6.1/production-deployment-using-tiup) | [Installation packages](https://www.pingcap.com/download/?version=v6.1.3#version-list)

## Improvements

- PD

- Optimize the granularity of locks to reduce lock contention and improve the capability of processing heartbeat in high concurrency [#5586](https://github.com/tikv/pd/issues/5586) @[rleungx](https://github.com/rleungx)

- Tools

- TiCDC

- Enable transaction split and disable the safe mode of a changefeed in TiCDC by default to improve performance [#7505](https://github.com/pingcap/tiflow/issues/7505) @[asddongmen](https://github.com/asddongmen)
- Improve the performance of Kafka protocol encoder [#7540](https://github.com/pingcap/tiflow/issues/7540), [#7532](https://github.com/pingcap/tiflow/issues/7532), [#7543](https://github.com/pingcap/tiflow/issues/7543) @[sdojjy](https://github.com/sdojjy) @[3AceShowHand](https://github.com/3AceShowHand)

- Others

- Upgrade the Go compiler version of TiDB from go1.18 to [go1.19](https://go.dev/doc/go1.19), which improves the TiDB stability. Specifically, a Go environment variable [`GOMEMLIMIT`](https://pkg.go.dev/runtime@go1.19#hdr-Environment_Variables) is introduced to keep the memory usage of TiDB below a certain threshold. This helps mitigate most OOM issues. For more information, see [Mitigate OOM issues by configuring the `GOMEMLIMIT`](/configure-memory-usage.md#mitigate-oom-issues-by-configuring-gomemlimit).

## Bug fixes

+ TiDB

- Fix the issue that the `grantor` field is missing in the `mysql.tables_priv` table [#38293](https://github.com/pingcap/tidb/issues/38293) @[CbcWestwolf](https://github.com/CbcWestwolf)
- Fix the issue of the 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)
- Fix the issue that the lock acquired by `get_lock()` cannot hold for more than 10 minutes [#38706](https://github.com/pingcap/tidb/issues/38706) @[tangenta](https://github.com/tangenta)
- Fix the issue that the auto-increment column cannot be used with check constraint [#38894](https://github.com/pingcap/tidb/issues/38894) @[YangKeao](https://github.com/YangKeao)
- Fix the issue that the gPRC log is output to a wrong file [#38941](https://github.com/pingcap/tidb/issues/38941) @[xhebox](https://github.com/xhebox)
- Fix the issue that the TiFlash sync status of a table is not deleted from etcd when the table is truncated or dropped [#37168](https://github.com/pingcap/tidb/issues/37168) @[CalvinNeo](https://github.com/CalvinNeo)
- Fix the issue that data files can be accessed unrestrainedly via data source name injection (CVE-2022-3023) [#38541](https://github.com/pingcap/tidb/issues/38541) @[lance6716](https://github.com/lance6716)
- Fix the issue that the function `str_to_date` returns wrong result in the `NO_ZERO_DATE` SQL mode [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014)
- Fix the issue that statistics collection tasks in the background might panic [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai)
- Fix the issue that in some scenarios the pessimistic lock is incorrectly added to the non-unique secondary index [#36235](https://github.com/pingcap/tidb/issues/36235) @[ekexium](https://github.com/ekexium)

- PD

- Fix inaccurate Stream timeout and accelerate leader switchover [#5207](https://github.com/tikv/pd/issues/5207) @[CabinfeverB](https://github.com/CabinfeverB)

+ TiKV

- Fix abnormal Region competition caused by expired lease during snapshot acquisition [#13553](https://github.com/tikv/tikv/issues/13553) @[SpadeA-Tang](https://github.com/SpadeA-Tang)

+ TiFlash

- Fix the issue that logical operators return wrong results when the argument type is `UInt8` [#6127](https://github.com/pingcap/tiflash/issues/6127) @[xzhangxian1008](https://github.com/xzhangxian1008)
- Fix the issue that wrong data input for `CAST(value AS DATETIME)` causing high TiFlash sys CPU [#5097](https://github.com/pingcap/tiflash/issues/5097) @[xzhangxian1008](https://github.com/xzhangxian1008)
- Fix the issue that heavy write pressure might generate too many column files in the delta layer [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu)
- Fix the issue that column files in the delta layer cannot be compacted after restarting TiFlash [#6159](https://github.com/pingcap/tiflash/issues/6159) @[lidezhu](https://github.com/lidezhu)

+ Tools

+ Backup & Restore (BR)

- Fix the issue that restore tasks fail when using old framework for collations in databases or tables [#39150](https://github.com/pingcap/tidb/issues/39150) @[MoCuishle28](https://github.com/MoCuishle28)

+ TiCDC

- Fix data loss occurred in the scenario of executing DDL statements first and then pausing and resuming the changefeed [#7682](https://github.com/pingcap/tiflow/issues/7682) @[asddongmen](https://github.com/asddongmen)

+ TiDB Data Migration (DM)

- Fix the issue that when `collation_compatible` is set to `"strict"`, DM might generate SQL with duplicated collations [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716)
- Fix the issue that DM tasks might stop with an `Unknown placement policy` error [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716)
- Fix the issue that relay logs might be pulled from upstream again in some cases [#7525](https://github.com/pingcap/tiflow/issues/7525) @[liumengya94](https://github.com/liumengya94)
- Fix the issue that data is replicated for multiple times when a new DM worker is scheduled before the existing worker exits [#7658](https://github.com/pingcap/tiflow/issues/7658) @[GMHDBJD](https://github.com/GMHDBJD)
1 change: 1 addition & 0 deletions releases/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ title: Release Notes

## 6.1

- [6.1.3](/releases/release-6.1.3.md): 2022-12-05
- [6.1.2](/releases/release-6.1.2.md): 2022-10-24
- [6.1.1](/releases/release-6.1.1.md): 2022-09-01
- [6.1.0](/releases/release-6.1.0.md): 2022-06-13
Expand Down
1 change: 1 addition & 0 deletions releases/release-timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This document shows all the released TiDB versions in reverse chronological orde

| Version | Release Date |
| :--- | :--- |
| [6.1.3](/releases/release-6.1.3.md) | 2022-12-05 |
| [5.3.4](/releases/release-5.3.4.md) | 2022-11-24 |
| [6.1.2](/releases/release-6.1.2.md) | 2022-10-24 |
| [5.4.3](/releases/release-5.4.3.md) | 2022-10-13 |
Expand Down