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

Merged
merged 28 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2184497
release 6.5.5
Oreoxmt Sep 14, 2023
ec96fee
Update release-6.5.5.md planner part
elsa0520 Sep 15, 2023
d9d3331
Apply suggestions from code review
hfxsd Sep 18, 2023
51861cd
polish the draft and assign to tw
hfxsd Sep 18, 2023
e4bb9f0
Update release-6.5.5.md
hfxsd Sep 18, 2023
945aa7a
Apply suggestions from code review
hfxsd Sep 18, 2023
5d5b9b5
Apply suggestions from code review
qiancai Sep 18, 2023
ff25844
Apply suggestions from code review
qiancai Sep 18, 2023
677b58e
add #15351 for v6.5.4
qiancai Sep 18, 2023
530cbaa
Update releases/release-6.5.5.md
qiancai Sep 18, 2023
9a782d8
Apply suggestions from code review
Oreoxmt Sep 18, 2023
62d9130
Update releases/release-6.5.5.md
qiancai Sep 18, 2023
3ae64ea
Update releases/release-6.5.5.md
hfxsd Sep 18, 2023
3737f5a
Update releases/release-6.5.5.md
hfxsd Sep 18, 2023
d9d63c2
Update releases/release-6.5.5.md
qiancai Sep 18, 2023
e7e0549
Apply suggestions from code review
Oreoxmt Sep 18, 2023
c3acd11
Update releases/release-6.5.5.md
ran-huang Sep 19, 2023
bf92d03
Update release-6.5.5.md
hfxsd Sep 19, 2023
b70ace3
Update release-6.5.5.md
hfxsd Sep 19, 2023
6cb3583
add date
hfxsd Sep 19, 2023
938737e
Update release-timeline.md
hfxsd Sep 19, 2023
cdfad10
Update releases/release-6.5.5.md
hfxsd Sep 19, 2023
644f753
Apply suggestions from code review
Oreoxmt Sep 19, 2023
375592b
Update releases/release-6.5.5.md
hfxsd Sep 19, 2023
1dd8efb
add a link for `NO_MERGE_JOIN()`
qiancai Sep 20, 2023
dbb4431
add ticdc dev
hfxsd Sep 20, 2023
e2f1e5a
remove the tw info
qiancai Sep 20, 2023
4e11155
Apply suggestions from code review
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 @@ -1035,6 +1035,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)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- 在 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
78 changes: 78 additions & 0 deletions releases/release-6.5.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
title: TiDB 6.5.5 Release Notes
summary: 了解 TiDB 6.5.5 版本的兼容性变更、改进提升,以及错误修复。
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
---

# 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 **tw@qiancai**
qiancai marked this conversation as resolved.
Show resolved Hide resolved

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

hfxsd marked this conversation as resolved.
Show resolved Hide resolved
+ 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)
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- 为 `resolved-ts` 提供更多的相关日志和监控指标 [#15082](https://github.com/tikv/tikv/issues/15082) @[ekexium](https://github.com/ekexium)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

+ 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)

hfxsd marked this conversation as resolved.
Show resolved Hide resolved
+ 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)
- 优化数据整理检查机制,当触发 Region Split 时,如果没有可以分裂的 key,触发一次数据整理,以消除过多的 MVCC 版本 [#15282](https://github.com/tikv/tikv/issues/15282) @[SpadeA-Tang](https://github.com/SpadeA-Tang)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- 修复 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)

hfxsd marked this conversation as resolved.
Show resolved Hide resolved
+ Tools

+ Backup & Restore (BR)

hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- 修复 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)

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
+ TiCDC

hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- 修复 PD 节点出现网络隔离时引起 TiCDC 同步延时变高的问题 [#9565](https://github.com/pingcap/tiflow/issues/9565)
- 修复采用 CSV 格式时将 `UPDATE` 操作错误修改为 `INSERT` 的问题 [#9658](https://github.com/pingcap/tiflow/issues/9658)
- 修复在部分日志中记录了用户密码的问题 [#9690](https://github.com/pingcap/tiflow/issues/9690)
- 修复使用 SASL 认证时可能导致 TiCDC 出现 panic 的问题 [#9669](https://github.com/pingcap/tiflow/issues/9669)
- 修复 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)
- 修复上游在 Region 非常多时,TiKV 节点出现故障导致 TiCDC 同步任务不能快速恢复的问题 [#9741](https://github.com/pingcap/tiflow/issues/9741)

+ 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 @@ -30,6 +30,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.3.0-DMR](/releases/release-7.3.0.md) | 2023-08-14 |
| [7.1.1](/releases/release-7.1.1.md) | 2023-07-24 |
Expand Down