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

Merged
merged 29 commits into from
Dec 5, 2022
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
135d1e7
add 6.1.3 release notes
shichun-0415 Nov 28, 2022
9eab049
add
shichun-0415 Nov 28, 2022
5020d65
Update release-6.1.3.md
shichun-0415 Nov 28, 2022
72e14fc
correct owner
shichun-0415 Nov 28, 2022
ad42e74
Update releases/release-6.1.3.md
flowbehappy Nov 30, 2022
a93b16d
Update releases/release-6.1.3.md
flowbehappy Nov 30, 2022
6ee1296
Update releases/release-6.1.3.md
lance6716 Nov 30, 2022
2f965f9
Update releases/release-6.1.3.md
lance6716 Nov 30, 2022
3a9a988
add PD and TiCDC improvements, and planner bug fixes
shichun-0415 Nov 30, 2022
934d724
Update releases/release-6.1.3.md
lance6716 Dec 1, 2022
99c3bb7
Apply suggestions from code review
shichun-0415 Dec 1, 2022
d400ca3
Update release-6.1.3.md
shichun-0415 Dec 1, 2022
9f1c289
Update release-6.1.3.md
shichun-0415 Dec 1, 2022
9cb8c0c
Apply suggestions from code review
shichun-0415 Dec 1, 2022
49b1077
bug fix: tools
Oreoxmt Dec 1, 2022
dd0b18a
Apply suggestions from code review
TomShawn Dec 2, 2022
95b4b5e
Apply suggestions from code review
shichun-0415 Dec 2, 2022
c8f3e7d
Apply suggestions from code review
Oreoxmt Dec 2, 2022
1c53c69
add go info
shichun-0415 Dec 2, 2022
45a9254
Apply suggestions from code review
shichun-0415 Dec 2, 2022
6b9a526
format
shichun-0415 Dec 2, 2022
bfc305e
Apply suggestions from code review
shichun-0415 Dec 5, 2022
ccd956f
add oom link and finalize the RN
shichun-0415 Dec 5, 2022
3b93b39
add a link to go 1.19
shichun-0415 Dec 5, 2022
534d2b1
add a link to go 1.19 RN
shichun-0415 Dec 5, 2022
7aacd54
Apply suggestions from code review
shichun-0415 Dec 5, 2022
5e9819a
Apply suggestions from code review
shichun-0415 Dec 5, 2022
e1413c2
Merge remote-tracking branch 'upstream/master' into 6.1.3-RN
shichun-0415 Dec 5, 2022
36672db
ci
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 @@ -942,6 +942,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

发版日期:2022 年 12 月 5 日

TiDB 版本:6.1.3

试用链接:[快速体验](https://docs.pingcap.com/zh/tidb/v6.1/quick-start-with-tidb) | [生产部署](https://docs.pingcap.com/zh/tidb/v6.1/production-deployment-using-tiup) | [下载离线包](https://cn.pingcap.com/product-community/?version=v6.1.3#version-list)

## 提升改进

shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
shichun-0415 marked this conversation as resolved.
Show resolved Hide resolved
- PD

- 优化锁的粒度以减少锁争用,提升高并发下心跳的处理能力 [#5586](https://github.com/tikv/pd/issues/5586) @[rleungx](https://github.com/rleungx)

- Tools

- TiCDC

- 默认情况下关闭 safeMode 并开启大事务拆分功能,提升同步的稳定性 [#7505](https://github.com/pingcap/tiflow/issues/7505) @[asddongmen](https://github.com/asddongmen)
- 提升 Kafka 相关协议的编码性能 [#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)

- 其他

- 为了提升 TiDB 稳定性,缓解 OOM 问题,TiDB 的 Go 编译器版本从 go1.18 升级到了 [go1.19](https://go.dev/doc/go1.19)。通过设置 Go 环境变量 [`GOMEMLIMIT`](https://pkg.go.dev/runtime@go1.19#hdr-Environment_Variables),可以将 TiDB 的内存使用维持在预定的水位线以下,缓解大部分 OOM 问题。更多信息,详见[设置环境变量 `GOMEMLIMIT` 缓解 OOM 问题](configure-memory-usage.md#设置环境变量-gomemlimit-缓解-oom-问题)。

## Bug 修复

+ TiDB

- 修复 `mysql.tables_priv` 表中 `grantor` 字段缺失的问题 [#38293](https://github.com/pingcap/tidb/issues/38293) @[CbcWestwolf](https://github.com/CbcWestwolf)
- 修复错误下推的条件被 Join Reorder 丢弃后导致查询结果错误的问题 [#38736](https://github.com/pingcap/tidb/issues/38736) @[winoros](https://github.com/winoros)
- 修复使用 `get_lock()` 获得的锁无法持续 10 分钟以上的问题 [#38706](https://github.com/pingcap/tidb/issues/38706) @[tangenta](https://github.com/tangenta)
- 修复自增列不能和检查约束一起使用的问题 [#38894](https://github.com/pingcap/tidb/issues/38894) @[YangKeao](https://github.com/YangKeao)
- 修复了 gRPC 日志导出到错误文件的问题 [#38941](https://github.com/pingcap/tidb/issues/38941) @[xhebox](https://github.com/xhebox)
- 修复当表被截断或删除时 TiFlash 同步状态未从 etcd 中删除的问题 [#37168](https://github.com/pingcap/tidb/issues/37168) @[CalvinNeo](https://github.com/CalvinNeo)
- 修复通过数据源名称注入可读取任意文件的问题 (CVE-2022-3023) [#38541](https://github.com/pingcap/tidb/issues/38541) @[lance6716](https://github.com/lance6716)
- 修复函数 `str_to_date` 在 `NO_ZERO_DATE` SQL 模式下返回结果不正确的问题 [#39146](https://github.com/pingcap/tidb/issues/39146) @[mengxin9014](https://github.com/mengxin9014)
- 修复后台统计信息任务可能崩溃的问题 [#35421](https://github.com/pingcap/tidb/issues/35421) @[lilinghai](https://github.com/lilinghai)
- 修复部分场景非唯一二级索引被误加悲观锁的问题 [#36235](https://github.com/pingcap/tidb/issues/36235) @[ekexium](https://github.com/ekexium)

- PD

- 修复 Stream 超时问题,提高 Leader 切换的速度 [#5207](https://github.com/tikv/pd/issues/5207) @[CabinfeverB](https://github.com/CabinfeverB)

+ TiKV

- 修复获取 Snapshot 时 Lease 过期引发的异常竞争问题 [#13553](https://github.com/tikv/tikv/issues/13553) @[SpadeA-Tang](https://github.com/SpadeA-Tang)

+ TiFlash

- 修复逻辑运算符在 `UInt8` 类型下查询结果出错的问题 [#6127](https://github.com/pingcap/tiflash/issues/6127) @[xzhangxian1008](https://github.com/xzhangxian1008)
- 修复 `CAST(value AS datetime)` 输入数据无法转成 `DATETIME` 时会导致 TiFlash sys CPU 异常高的问题 [#5097](https://github.com/pingcap/tiflash/issues/5097) @[xzhangxian1008](https://github.com/xzhangxian1008)
- 修复高压力写入可能产生太多 delta 层小文件的问题 [#6361](https://github.com/pingcap/tiflash/issues/6361) @[lidezhu](https://github.com/lidezhu)
- 修复 TiFlash 重启后 delta 层的小文件无法合并 (compact) 的问题 [#6159](https://github.com/pingcap/tiflash/issues/6159) @[lidezhu](https://github.com/lidezhu)

+ Tools

+ Backup & Restore (BR)

- 修复数据库或数据表中使用旧的排序规则框架时数据恢复失败的问题 [#39150](https://github.com/pingcap/tidb/issues/39150) @[MoCuishle28](https://github.com/MoCuishle28)

+ TiCDC

- 修复在执行 DDL 后,暂停然后恢复 changefeed 会导致数据丢失的问题 [#7682](https://github.com/pingcap/tiflow/issues/7682) @[asddongmen](https://github.com/asddongmen)

+ TiDB Data Migration (DM)

- 修复当 `collation_compatible` 设置为 `"strict"` 时,DM 可能生成有重复排序规则的 SQL 语句的问题 [#6832](https://github.com/pingcap/tiflow/issues/6832) @[lance6716](https://github.com/lance6716)
- 修复 DM 可能由于 `Unknown placement policy` 错误导致任务停止的问题 [#7493](https://github.com/pingcap/tiflow/issues/7493) @[lance6716](https://github.com/lance6716)
- 修复在某些场景下 relay log 文件会从上游重新拉取的问题 [#7525](https://github.com/pingcap/tiflow/issues/7525) @[liumengya94](https://github.com/liumengya94)
- 修复当 DM worker 即将退出时新 worker 调度过快导致数据被重复同步的问题 [#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 @@ -21,6 +21,7 @@ TiDB 历史版本发布声明如下:

## 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 @@ summary: 了解 TiDB 的版本发布时间线。

| 版本 | 发布日期 |
| :--- | :--- |
| [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.4.0-DMR](/releases/release-6.4.0.md) | 2022-11-17 |
| [6.1.2](/releases/release-6.1.2.md) | 2022-10-24 |
Expand Down