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 19 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
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 年 x 月 x 日

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)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修复上游在 Region 非常多时,TiKV 节点出现故障导致 TiCDC 同步任务不能快速恢复的问题

hfxsd marked this conversation as resolved.
Show resolved Hide resolved

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