From 3521480387b801f9cc7e5e4247fd37e5f58cde89 Mon Sep 17 00:00:00 2001 From: Ti Chi Robot Date: Mon, 5 Dec 2022 21:45:10 +0800 Subject: [PATCH] add 6.1.3 release notes (#12137) (#12210) * add 6.1.3 release notes * add * Update release-6.1.3.md * correct owner * Update releases/release-6.1.3.md * Update releases/release-6.1.3.md * Update releases/release-6.1.3.md * Update releases/release-6.1.3.md * add PD and TiCDC improvements, and planner bug fixes Co-authored-by: ShuNing Co-authored-by: Yuanjia Zhang * Update releases/release-6.1.3.md * Apply suggestions from code review Co-authored-by: Weizhen Wang Co-authored-by: ruoxi Co-authored-by: WangLe1321 * Update release-6.1.3.md * Update release-6.1.3.md * Apply suggestions from code review * bug fix: tools Signed-off-by: Aolin * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> * add go info * Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * format * Apply suggestions from code review Co-authored-by: Aolin Co-authored-by: HuaiyuXu * add oom link and finalize the RN * add a link to go 1.19 * add a link to go 1.19 RN * Apply suggestions from code review Co-authored-by: Aolin * Apply suggestions from code review Co-authored-by: ruoxi * ci Signed-off-by: Aolin Co-authored-by: Flowyi Co-authored-by: lance6716 Co-authored-by: ShuNing Co-authored-by: Yuanjia Zhang Co-authored-by: Weizhen Wang Co-authored-by: ruoxi Co-authored-by: WangLe1321 Co-authored-by: Aolin Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: Aolin Co-authored-by: HuaiyuXu Signed-off-by: Aolin Co-authored-by: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Co-authored-by: Flowyi Co-authored-by: lance6716 Co-authored-by: ShuNing Co-authored-by: Yuanjia Zhang Co-authored-by: Weizhen Wang Co-authored-by: ruoxi Co-authored-by: WangLe1321 Co-authored-by: Aolin Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: Aolin Co-authored-by: HuaiyuXu Co-authored-by: shichun-0415 --- TOC.md | 1 + releases/release-6.1.3.md | 75 ++++++++++++++++++++++++++++++++++++ releases/release-notes.md | 1 + releases/release-timeline.md | 1 + 4 files changed, 78 insertions(+) create mode 100644 releases/release-6.1.3.md diff --git a/TOC.md b/TOC.md index b530201d7424..553985946246 100644 --- a/TOC.md +++ b/TOC.md @@ -921,6 +921,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) diff --git a/releases/release-6.1.3.md b/releases/release-6.1.3.md new file mode 100644 index 000000000000..17f031827eb4 --- /dev/null +++ b/releases/release-6.1.3.md @@ -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) + +## 提升改进 + +- 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) diff --git a/releases/release-notes.md b/releases/release-notes.md index d74f24e12f8a..21ebbbafc2d4 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -12,6 +12,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 diff --git a/releases/release-timeline.md b/releases/release-timeline.md index e8f96e90f614..b35b51073590 100644 --- a/releases/release-timeline.md +++ b/releases/release-timeline.md @@ -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.1.2](/releases/release-6.1.2.md) | 2022-10-24 | | [5.4.3](/releases/release-5.4.3.md) | 2022-10-13 |