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 release notes for v6.5.5 (#15040) #15072

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
8e33fb0
release 6.5.5
Oreoxmt Sep 14, 2023
8a76249
Update release-6.5.5.md planner part
elsa0520 Sep 15, 2023
280465c
Apply suggestions from code review
hfxsd Sep 18, 2023
9b35cd8
polish the draft and assign to tw
hfxsd Sep 18, 2023
08607bc
Update release-6.5.5.md
hfxsd Sep 18, 2023
6120f03
Apply suggestions from code review
hfxsd Sep 18, 2023
eca6f70
Apply suggestions from code review
qiancai Sep 18, 2023
7914680
Apply suggestions from code review
qiancai Sep 18, 2023
524c298
add #15351 for v6.5.4
qiancai Sep 18, 2023
177c485
Update releases/release-6.5.5.md
qiancai Sep 18, 2023
531cb20
Apply suggestions from code review
Oreoxmt Sep 18, 2023
2d59f2e
Update releases/release-6.5.5.md
qiancai Sep 18, 2023
81a5f6e
Update releases/release-6.5.5.md
hfxsd Sep 18, 2023
7e6aece
Update releases/release-6.5.5.md
hfxsd Sep 18, 2023
0736b04
Update releases/release-6.5.5.md
qiancai Sep 18, 2023
44dfc25
Apply suggestions from code review
Oreoxmt Sep 18, 2023
bae0f43
Update releases/release-6.5.5.md
ran-huang Sep 19, 2023
5d77bb3
Update release-6.5.5.md
hfxsd Sep 19, 2023
2de7c9e
Update release-6.5.5.md
hfxsd Sep 19, 2023
548ecbc
add date
hfxsd Sep 19, 2023
c95481d
Update release-timeline.md
hfxsd Sep 19, 2023
f1c9512
Update releases/release-6.5.5.md
hfxsd Sep 19, 2023
98e6062
Apply suggestions from code review
Oreoxmt Sep 19, 2023
5cf56f2
Update releases/release-6.5.5.md
hfxsd Sep 19, 2023
3deb234
add a link for `NO_MERGE_JOIN()`
qiancai Sep 20, 2023
614b54f
add ticdc dev
hfxsd Sep 20, 2023
0e64569
remove the tw info
qiancai Sep 20, 2023
a759140
Apply suggestions from code review
hfxsd Sep 21, 2023
ef1fa55
change hint links to v6.5 links
hfxsd Sep 21, 2023
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 @@ -1022,6 +1022,7 @@
- v6.6
- [6.6.0-DMR](/releases/release-6.6.0.md)
- v6.5
- [6.5.5](/releases/release-6.5.5.md)
- [6.5.4](/releases/release-6.5.4.md)
- [6.5.3](/releases/release-6.5.3.md)
- [6.5.2](/releases/release-6.5.2.md)
Expand Down
3 changes: 2 additions & 1 deletion releases/release-6.5.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ TiDB 版本:6.5.4
- 优化 `LOAD DATA` 语句中包含赋值表达式时 `LOAD DATA` 的执行性能 [#46081](https://github.com/pingcap/tidb/issues/46081) @[gengliqi](https://github.com/gengliqi)
- 优化与落盘相关的 chunk 读取的性能 [#45125](https://github.com/pingcap/tidb/issues/45125) @[YangKeao](https://github.com/YangKeao)
- 新增 `halt-scheduling` 配置项,用于关闭 PD 调度 [#6493](https://github.com/tikv/pd/issues/6493) @[JmPotato](https://github.com/JmPotato)

+ TiKV

- 使用 gzip 压缩 `check_leader` 请求以减少流量 [#14553](https://github.com/tikv/tikv/issues/14553) @[you06](https://github.com/you06)
- 添加 `Max gap of safe-ts` 和 `Min safe ts region` 监控项以及 `tikv-ctl get_region_read_progress` 命令,用于更好地观测和诊断 resolved-ts 和 safe-ts 的状态 [#15082](https://github.com/tikv/tikv/issues/15082) @[ekexium](https://github.com/ekexium)
- 在 TiKV 中暴露部分 RocksDB 配置,允许用户禁用 TTL 和定期数据整理等特性 [#14873](https://github.com/tikv/tikv/issues/14873) @[LykxSassinator](https://github.com/LykxSassinator)
- 避免写 Titan manifest 文件时持有锁导致影响其他线程 [#15351](https://github.com/tikv/tikv/issues/15351) @[Connor1996](https://github.com/Connor1996)

+ PD

Expand Down
79 changes: 79 additions & 0 deletions releases/release-6.5.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
title: TiDB 6.5.5 Release Notes
summary: 了解 TiDB 6.5.5 版本的改进提升与错误修复。
---

# TiDB 6.5.5 Release Notes

发版日期:2023 年 9 月 21 日

TiDB 版本:6.5.5

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

## 改进提升

+ TiDB

- 新增部分优化器提示,包括 [`NO_MERGE_JOIN()`](https://docs.pingcap.com/zh/tidb/v6.5/optimizer-hints#no_merge_joint1_name--tl_name-)、[`NO_INDEX_JOIN()`](https://docs.pingcap.com/zh/tidb/v6.5/optimizer-hints#no_index_joint1_name--tl_name-)、[`NO_INDEX_MERGE_JOIN()`](https://docs.pingcap.com/zh/tidb/v6.5/optimizer-hints#no_index_merge_joint1_name--tl_name-)、[`NO_HASH_JOIN()`](https://docs.pingcap.com/zh/tidb/v6.5/optimizer-hints#no_hash_joint1_name--tl_name-)、[`NO_INDEX_HASH_JOIN()`](https://docs.pingcap.com/zh/tidb/v6.5/optimizer-hints#no_index_hash_joint1_name--tl_name-) [#45520](https://github.com/pingcap/tidb/issues/45520) @[qw4990](https://github.com/qw4990)
- 添加 coprocessor 相关的 request source 信息 [#46514](https://github.com/pingcap/tidb/issues/46514) @[you06](https://github.com/you06)

+ TiKV

- 新增 PD Client 连接重试过程中的 backoff 机制。异常错误重试期间,逐步增加重试时间间隔,减小 PD 压力 [#15428](https://github.com/tikv/tikv/issues/15428) @[nolouch](https://github.com/nolouch)
- 增加 snapshot 相关的监控指标 [#15401](https://github.com/tikv/tikv/issues/15401) @[SpadeA-Tang](https://github.com/SpadeA-Tang)
- 提高 PITR checkpoint lag 在 leader 转移时的稳定性 [#13638](https://github.com/tikv/tikv/issues/13638) @[YuJuncen](https://github.com/YuJuncen)
- 增加 `safe-ts` 相关的日志和监控指标 [#15082](https://github.com/tikv/tikv/issues/15082) @[ekexium](https://github.com/ekexium)
- 为 `resolved-ts` 提供更多的相关日志和监控指标 [#15082](https://github.com/tikv/tikv/issues/15082) @[ekexium](https://github.com/ekexium)
- 优化数据整理检查机制,当触发 Region Split 时,如果没有可以分裂的 key,触发一次数据整理,以消除过多的 MVCC 版本 [#15282](https://github.com/tikv/tikv/issues/15282) @[SpadeA-Tang](https://github.com/SpadeA-Tang)

+ Tools

+ Backup & Restore (BR)

- 减少日志备份 `resolve lock` 的 CPU 开销 [#40759](https://github.com/pingcap/tidb/issues/40759) @[3pointer](https://github.com/3pointer)

## 错误修复

+ TiDB

- 修复 Stale Read 可能选择不可用副本的问题 [#46198](https://github.com/pingcap/tidb/issues/46198) @[zyguan](https://github.com/zyguan)
- 修复 Stale Read 和 Schema Cache 不适配导致额外开销的问题 [#43481](https://github.com/pingcap/tidb/issues/43481) @[crazycs520](https://github.com/crazycs520)

+ TiKV

- 修复当一个 TiKV 节点失败时,对应 Region 的 peers 错误地进入休眠模式的问题 [#14547](https://github.com/tikv/tikv/issues/14547) @[hicqu](https://github.com/hicqu)
- 修复开启 Titan 后,TiKV 遇到 `Blob file deleted twice` 报错无法正常启动的问题 [#15454](https://github.com/tikv/tikv/issues/15454) @[Connor1996](https://github.com/Connor1996)
- 修复 Online Unsafe Recovery 时无法处理 merge abort 的问题 [#15580](https://github.com/tikv/tikv/issues/15580) @[v01dstar](https://github.com/v01dstar)
- 修复 PD 和 TiKV 之间的网络中断可能导致 PITR 卡住的问题 [#15279](https://github.com/tikv/tikv/issues/15279) @[YuJuncen](https://github.com/YuJuncen)

+ PD

- 修复调度器启动时间长的问题 [#6920](https://github.com/tikv/pd/issues/6920) @[HuSharp](https://github.com/HuSharp)
- 修复 Scatter Region 处理 Leader 和 Peer 的逻辑不一致的问题 [#6962](https://github.com/tikv/pd/issues/6962) @[bufferflies](https://github.com/bufferflies)
- 修复集群重启或者 PD Leader 切换时,空 Region 数量监控指标异常的问题 [#7008](https://github.com/tikv/pd/issues/7008) @[CabinfeverB](https://github.com/CabinfeverB)

+ Tools

+ Backup & Restore (BR)

- 修复 PITR 恢复隐式主键可能冲突的问题 [#46520](https://github.com/pingcap/tidb/issues/46520) @[3pointer](https://github.com/3pointer)
- 修复 PITR 恢复 meta-kv 出错的问题 [#46578](https://github.com/pingcap/tidb/issues/46578) @[Leavrth](https://github.com/Leavrth)
- 修复 BR 集成测试用例出错的问题 [#45561](https://github.com/pingcap/tidb/issues/46561) @[purelind](https://github.com/purelind)
- 缓解了 Region leadership 迁移导致 PITR 日志备份进度延迟变高的问题 [#13638](https://github.com/tikv/tikv/issues/13638) @[YuJuncen](https://github.com/YuJuncen)
- 修复 GCS 上 PITR 恢复失败的问题 [#47022](https://github.com/pingcap/tidb/issues/47022) @[Leavrth](https://github.com/Leavrth)

+ TiCDC

- 修复 PD 节点出现网络隔离时引起 TiCDC 同步延时变高的问题 [#9565](https://github.com/pingcap/tiflow/issues/9565) @[asddongmen](https://github.com/asddongmen)
- 修复采用 CSV 格式时将 `UPDATE` 操作错误修改为 `INSERT` 的问题 [#9658](https://github.com/pingcap/tiflow/issues/9658) @[3AceShowHand](https://github.com/3AceShowHand)
- 修复在部分日志中记录了用户密码的问题 [#9690](https://github.com/pingcap/tiflow/issues/9690) @[sdojjy](https://github.com/sdojjy)
- 修复使用 SASL 认证时可能导致 TiCDC 出现 panic 的问题 [#9669](https://github.com/pingcap/tiflow/issues/9669) @[sdojjy](https://github.com/sdojjy)
- 修复 TiCDC 同步任务在某些特殊场景可能失败的问题 [#9685](https://github.com/pingcap/tiflow/issues/9685) [#9697](https://github.com/pingcap/tiflow/issues/9697) [#9695](https://github.com/pingcap/tiflow/issues/9695) [#9736](https://github.com/pingcap/tiflow/issues/9736) @[hicqu](https://github.com/hicqu) @[CharlesCheung96](https://github.com/CharlesCheung96)
- 修复上游在 Region 非常多时,TiKV 节点出现故障导致 TiCDC 同步任务不能快速恢复的问题 [#9741](https://github.com/pingcap/tiflow/issues/9741) @[sdojjy](https://github.com/sdojjy)

+ TiDB Lightning
- 修复 TiDB Lightning 在目标服务器部署 TiCDC 时无法启动的问题 [#41040](https://github.com/pingcap/tidb/issues/41040) @[lance6716](https://github.com/lance6716)
- 修复 TiDB Lightning 在 PD 拓扑变更时无法启动的问题 [#46688](https://github.com/pingcap/tidb/issues/46688) @[lance6716](https://github.com/lance6716)
- 修复 TiDB Lightning 在 PD 切换 Leader 后无法继续导入数据的问题 [#46540](https://github.com/pingcap/tidb/issues/46540) @[lance6716](https://github.com/lance6716)
- 修复 precheck 无法准确检测目标集群是否存在运行中的 TiCDC 的问题 [#41040](https://github.com/pingcap/tidb/issues/41040) @[lance6716](https://github.com/lance6716)
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.5

- [6.5.5](/releases/release-6.5.5.md): 2023-09-21
- [6.5.4](/releases/release-6.5.4.md): 2023-08-28
- [6.5.3](/releases/release-6.5.3.md): 2023-06-14
- [6.5.2](/releases/release-6.5.2.md): 2023-04-21
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.5.5](/releases/release-6.5.5.md) | 2023-09-21 |
| [6.5.4](/releases/release-6.5.4.md) | 2023-08-28 |
| [7.1.1](/releases/release-7.1.1.md) | 2023-07-24 |
| [6.1.7](/releases/release-6.1.7.md) | 2023-07-12 |
Expand Down