From 9a509290eb9f230631c4f9621a756a8d8d548e5b Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Thu, 24 Feb 2022 16:29:06 +0800 Subject: [PATCH 01/32] add 5.3.1 release notes --- releases/release-5.3.1.md | 37 ++++++++++++++++++++++++++++++++++++ releases/release-notes.md | 1 + releases/release-timeline.md | 1 + 3 files changed, 39 insertions(+) create mode 100644 releases/release-5.3.1.md diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md new file mode 100644 index 000000000000..790b874e440e --- /dev/null +++ b/releases/release-5.3.1.md @@ -0,0 +1,37 @@ +--- +title: TiDB 5.3.1 Release Notes +--- + +# TiDB 5.3.1 Release Notes + +发版日期:2021 年 x 月 x 日 + +TiDB 版本:5.3.1 + +## 兼容性更改 + +TiDB + +TiKV + +PD + +TiDB Dashboard + +TiFlash + +Tools + + Backup & Restore (BR) + + TiCDC + + Dumpling + + TiDB Binlog + + TiDB Lightning + +## 功能增强 + +## Bug 修复 diff --git a/releases/release-notes.md b/releases/release-notes.md index 6a058ddcb05f..2f8ca5af5d7b 100644 --- a/releases/release-notes.md +++ b/releases/release-notes.md @@ -8,6 +8,7 @@ TiDB 历史版本发布声明如下: ## 5.3 +- [5.3.1](/releases/release-5.3.1.md) - [5.3.0](/releases/release-5.3.0.md) ## 5.2 diff --git a/releases/release-timeline.md b/releases/release-timeline.md index ff72bdb150c5..a50ef9746df4 100644 --- a/releases/release-timeline.md +++ b/releases/release-timeline.md @@ -9,6 +9,7 @@ summary: 了解 TiDB 的版本发布时间线。 | 版本 | 发布日期 | | :--- | :--- | +| [5.3.1](/releases/release-5.3.1.md) | 2022-xx-xx | | [5.1.4](/releases/release-5.1.4.md) | 2022-02-22 | | [5.0.6](/releases/release-5.0.6.md) | 2021-12-31 | | [4.0.16](/releases/release-4.0.16.md) | 2021-12-17 | From 1f11c3c6449d5685716bb321435039feac488319 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Mon, 28 Feb 2022 21:34:32 +0800 Subject: [PATCH 02/32] Update release-5.3.1.md --- releases/release-5.3.1.md | 144 +++++++++++++++++++++++++++++++++++--- 1 file changed, 135 insertions(+), 9 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 790b874e440e..bcd308867b6f 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -10,28 +10,154 @@ TiDB 版本:5.3.1 ## 兼容性更改 +## 功能增强 + TiDB + - 整理用户登录模式匹配的逻辑,增强 MySQL 兼容 [#30450](https://github.com/pingcap/tidb/pull/30450) + TiKV -PD + - 通过减少需要 resolve 锁的 region 数来减少 CDC 恢复时间。 [#11993](https://github.com/tikv/tikv/issues/11993) + - 通过调整 raftlog GC 写入的 batch 大小来加速 GC。[#11404](https://github.com/tikv/tikv/issues/11404) -TiDB Dashboard + (dup) - Update the proc filesystem (procfs) to v0.12.0 [#11702](https://github.com/tikv/tikv/issues/11702) -TiFlash +PD -Tools + - Improve DR_STATE file content format [#4341](https://github.com/tikv/pd/issues/4341) - Backup & Restore (BR) +Tools TiCDC - Dumpling + - 暴露 Kafka Producer 配置参数以使之在 cdc 中可配置 [#4385](https://github.com/pingcap/tiflow/issues/4385) + - Add pre clean up process when s3 enable [#3878](https://github.com/pingcap/tiflow/issues/3878) + - TiCDC 客户端现在可以在未指定证书名字的情况下工作了 [#3882](https://github.com/pingcap/tiflow/pull/3882) + - 为 CDC 每个表维护单独的 Checkpoint,避免 Checkpoint 被意外推进 [#4083](https://github.com/pingcap/tiflow/pull/4083) - TiDB Binlog + (dup) - Add the exponential backoff mechanism for restarting a changefeed. [#3329](https://github.com/pingcap/tiflow/issues/3329) + (dup) - Change the default value of Kafka Sink `partition-num` to 3 so that TiCDC distributes messages across Kafka partitions more evenly [#3337](https://github.com/pingcap/tiflow/issues/3337) + (dup) - Reduce the count of "EventFeed retry rate limited" logs [#4006](https://github.com/pingcap/tiflow/issues/4006) + (dup) - Set the default value of `max-message-bytes` to 10M [#4041](https://github.com/pingcap/tiflow/issues/4041) + (dup) - Add more Promethous and Grafana monitoring metrics and alerts, including `no owner alert`, `mounter row`, `table sink total row`, and `buffer sink total row` [#4054](https://github.com/pingcap/tiflow/issues/4054) [#1606](https://github.com/pingcap/tiflow/issues/1606) + (dup) - Reduce the time for the KV client to recover when a TiKV store is down [#3191](https://github.com/pingcap/tiflow/issues/3191) - TiDB Lightning + Lightning -## 功能增强 + - Make tidb-lightning pre-check output message clearer [#30395](https://github.com/pingcap/tiflow/issues/30395) ## Bug 修复 + +TiDB + + - 修复 date_format 对 '\n' 处理与 MySQL 不兼容的问题 [#32503](https://github.com/pingcap/tidb/pull/32503) + - 修复 `alter column set default` 错误修改表定义的问题 [#31074](https://github.com/pingcap/tidb/issues/31074) + - 修复打开 tidb_restricted_read_only 后 tidb_super_read_only 没有自动打开的问题 [#31745](https://github.com/pingcap/tidb/issues/31745) + - 修复 greatest/least 表达式 collation 处理错误的问题 [#31789](https://github.com/pingcap/tidb/issues/31789) + - 修复 mpp task list 为空时 TiDB 报错的问题 [#31636](https://github.com/pingcap/tidb/issues/31636) + - 修复 innerWorker panic 导致的 index join 结果错误的问题 [#31494](https://github.com/pingcap/tidb/issues/31494) + - 修复将 float 列改为 double 后结果错误问题 [#31372](https://github.com/pingcap/tidb/issues/31372) + - 修复 IndexLookUpJoin 以及 Union 算子并发启动 worker 导致事务报错的问题 [#30468](https://github.com/pingcap/tidb/issues/30468) + - 修复针对 Order By 的优化导致的结果错误问题 [#30271](https://github.com/pingcap/tidb/issues/30271) + - 修复慢查询日志 `MaxDays` 以及 `MaxBackups` 不生效的问题 [#25716](https://github.com/pingcap/tidb/issues/25716) + + (dup) - 修复 `INSERT ... SELECT ... ON DUPLICATE KEY UPDATE` panic 的问题 [#28078](https://github.com/pingcap/tidb/issues/28078) + +TiKV + + - 修复 peer 在 Applying 状态下时快照文件被删除造成的 panic [#11746](https://github.com/tikv/tikv/issues/11746) + - 修复 `level0_slowdown_trigger` 被显式设置,且流量控制开启时的 QPS 回退。 [#11424](https://github.com/tikv/tikv/issues/11424) + - 修复 cgroup controller 没有被挂载造成的 panic。[#11569](https://github.com/tikv/tikv/issues/11569) + - 修复 TiKV 停止后 resolved ts 的延迟增加。 [#11352](https://github.com/tikv/tikv/pull/11352) + + (dup) - Fix a bug that TiKV cannot delete a range of data (`unsafe_destroy_range` cannot be executed) when the GC worker is busy [#11903](https://github.com/tikv/tikv/issues/11903) + (dup) - Fix the issue that destroying a peer might cause high latency [#10210](https://github.com/tikv/tikv/issues/10210) + (dup) - Fix a bug that the `any_value` function returns a wrong result when regions are empty [#11735](https://github.com/tikv/tikv/issues/11735) + (dup) - Fix the issue that deleting an uninitialized replica might cause an old replica to be recreated [#10533](https://github.com/tikv/tikv/issues/10533) + (dup) - Fix the metadata corruption issue when `Prepare Merge` is triggered after a new election is finished but the isolated peer is not informed [#11526](https://github.com/tikv/tikv/issues/11526) + (dup) - Fix the deadlock issue that happens occasionally when coroutines run too fast [#11549](https://github.com/tikv/tikv/issues/11549) + (dup) - Fix the issue that a down TiKV node causes the resolved timestamp to lag [#11351](https://github.com/tikv/tikv/issues/11351) + (dup) - Fix the issue that batch messages are too large in Raft client implementation [#9714](https://github.com/tikv/tikv/issues/9714) + (dup) - Fix a panic issue that occurs when Region merge, ConfChange, and Snapshot happen at the same time in extreme conditions [#11475](https://github.com/tikv/tikv/issues/11475) + (dup) - Fix the issue that TiKV cannot detect the memory lock when TiKV perform a reverse table scan [#11440](https://github.com/tikv/tikv/issues/11440) + (dup) - Fix the issue that RocksDB flush or compaction causes panic when the disk capacity is full [#11224](https://github.com/tikv/tikv/issues/11224) + (dup) - Fix a bug that tikv-ctl cannot return the correct Region-related information [#11393](https://github.com/tikv/tikv/issues/11393) + (dup) - Fix the issue that the average latency of the by-instance gRPC requests is inaccurate in TiKV metrics [#11299](https://github.com/tikv/tikv/issues/11299) + +TiFlash + + - 修复 cast(arg as decimal(x,y)) 在入参 arg 大于 decimal(x,y) 表示范围时,计算结果出错的问题 + - 修复启用 max_memory_usage 和 max_memory_usage_for_all_queries 配置项时,TiFlash 崩溃的问题 + - 修复 cast(string ad real) 在部分场景下计算结果出错的问题 + - 修复 cast(string ad decimal) 在部分场景下计算结果出错的问题 + - 修复在修改主键列类型为一个范围更大的整型类型时,数据索引不一致的问题 + - 修复 in 表达式在形如 (arg0, arg1) in (x,y) 的多个参数的情况下计算结果出错的问题 + - 修复 MPP 查询被 kill 时,TiFlash 崩溃的问题 + - 修复 str_to_date 函数在入参以 0 开头时计算结果出错的问题 + - 修复当查询的过滤条件形如 where 时,计算结果出错的问题 + - 修复 cast(string as datetime) 在入参形如 %Y-%m-%d\n%H:%i:%s 时,查询结果出错的问题 + +PD + + - 修复特定情况的调度会带有不需要的 JointConsensus 步骤的问题 [#4362](https://github.com/tikv/pd/issues/4362) + - 修复对 Voter 直接进行降级的调度无法执行的问题 [#4444](https://github.com/tikv/pd/issues/4444) + - 修复更新副本同步模式配置时的数据竞争问题 [#4325](https://github.com/tikv/pd/issues/4325) + - 修复特定情况下读锁不释放的问题 [#4354](https://github.com/tikv/pd/issues/4354) + + (dup) - Fix the issue that the cold hotspot data cannot be deleted from the hotspot statistics [#4390](https://github.com/tikv/pd/issues/4390) + +Tools + + Backup & Restore (BR) + + - Fix a bug that caused region unbalanced after restoring. [#31034](https://github.com/pingcap/tiflow/issues/31034) + + TiCDC + + - 修复了 varchar 类型值长度过长时的 "Column length too big" 错误 [#4637](https://github.com/pingcap/tiflow/issues/4637) + - 修复了 CDC 程序在 PD leader 被杀死时的异常退出问题 [#4248](https://github.com/pingcap/tiflow/issues/4248) + - 修复了 UPDATE 预计在安全模式下导致 DM 进程挂掉的问题 [#4317](https://github.com/pingcap/tiflow/issues/4317) + - 修复了监控面板中 cached region 项出现负值的问题 [#4290](https://github.com/pingcap/tiflow/pull/4290) + - 修复了 HTTP API 在查询的组件不存在时导致 CDC 挂掉的问题 [#3840](https://github.com/pingcap/tiflow/issues/3840) + - 修复了 DM 的 master/worker 线程以特定顺序重启后中继状态错误的问题 [#3478](https://github.com/pingcap/tiflow/issues/3478) + - 修复了 DM worker 在重启后无法完成初始化的问题 [#3344](https://github.com/pingcap/tiflow/issues/3344) + - 修复了 DM 任务在分区表相关 DDL 执行时间过长时失败的问题 [#3854](https://github.com/pingcap/tiflow/issues/3854) + - 修复了 DM 在上游是 MySQL 8.0 时报错 "invalid sequence" 的问题 [#3847](https://github.com/pingcap/tiflow/issues/3847) + - 修复了移除一个暂停的同步时,CDC Redo Log 无法被正确清理的问题 [#3919](https://github.com/pingcap/tiflow/pull/3919) + - 改进了 DM 的失败重试策略以避免潜在的数据丢失问题 [#3487](https://github.com/pingcap/tiflow/issues/3487) + - 修复容器环境中的 OOM 现象 [#3439](https://github.com/pingcap/tiflow/pull/3439) + - 修复了停掉处于加载阶段的任务会导致它被意外调度走的问题 [#3771](https://github.com/pingcap/tiflow/issues/3771) + - 纠正了在 Loader 上 query-status 查询到错误的进度的问题 [#3252](https://github.com/pingcap/tiflow/issues/3252) + - 修复了 CDC 的 HTTP API 在集群中存在不同版本 CDC 结点时无法正常工作的问题 [#3483](https://github.com/pingcap/tiflow/issues/3483) + - 修复了当 CDC Redo Log 配置在 S3 存储上时的异常退出问题 [#3523](https://github.com/pingcap/tiflow/issues/3523) + + (dup) - Fix the issue that default values cannot be replicated [#3793](https://github.com/pingcap/tiflow/issues/3793) + (dup) - Fix a bug that MySQL sink generates duplicated `replace` SQL statements if `batch-replace-enable` is disabled [#4501](https://github.com/pingcap/tiflow/issues/4501) + (dup) - Fix the issue that syncer metrics are updated only when querying the status [#4281](https://github.com/pingcap/tiflow/issues/4281) + (dup) - Fix the issue that `mq sink write row` does not have monitoring data [#3431](https://github.com/pingcap/tiflow/issues/3431) + (dup) - Fix the issue that replication cannot be performed when `min.insync.replicas` is smaller than `replication-factor` [#3994](https://github.com/pingcap/tiflow/issues/3994) + (dup) - Fix the issue that the `CREATE VIEW` statement interrupts data replication [#4173](https://github.com/pingcap/tiflow/issues/4173) + (dup) - Fix the issue the schema needs to be reset after a DDL statement is skipped [#4177](https://github.com/pingcap/tiflow/issues/4177) + (dup) - Fix the issue that `mq sink write row` does not have monitoring data [#3431](https://github.com/pingcap/tiflow/issues/3431) + (dup) - Fix the potential panic issue that occurs when a replication task is removed [#3128](https://github.com/pingcap/tiflow/issues/3128) + (dup) - Fix the potential issue that the deadlock causes a replication task to get stuck [#4055](https://github.com/pingcap/tiflow/issues/4055) + (dup) - Fix the TiCDC panic issue that occurs when manually cleaning the task status in etcd [#2980](https://github.com/pingcap/tiflow/issues/2980) + (dup) - Fix the issue that special comments in DDL statements cause the replication task to stop [#3755](https://github.com/pingcap/tiflow/issues/3755) + (dup) - Fix the issue of replication stop caused by the incorrect configuration of `config.Metadata.Timeout` [#3352](https://github.com/pingcap/tiflow/issues/3352) + (dup) - Fix the issue that the service cannot be started because of a timezone issue in the RHEL release [#3584](https://github.com/pingcap/tiflow/issues/3584) + (dup) - Fix the issue that `stopped` changefeeds resume automatically after a cluster upgrade [#3473](https://github.com/pingcap/tiflow/issues/3473) + (dup) - Fix the issue that default values cannot be replicated [#3793](https://github.com/pingcap/tiflow/issues/3793) + (dup) - Fix the issue of overly frequent warnings caused by MySQL sink deadlock [#2706](https://github.com/pingcap/tiflow/issues/2706) + (dup) - Fix the bug that the `enable-old-value` configuration item is not automatically set to `true` on Canal and Maxwell protocols [#3676](https://github.com/pingcap/tiflow/issues/3676) + (dup) - Fix the issue that Avro sink does not support parsing JSON type columns [#3624](https://github.com/pingcap/tiflow/issues/3624) + (dup) - Fix the negative value error in the changefeed checkpoint lag [#3010](https://github.com/pingcap/tiflow/issues/3010) + + TiDB Lightning + + - Fix the bug that lightning may not clean up metadata schema when some of the import contains no source files. [#28144](https://github.com/pingcap/tidb/issues/28144) + - Fix the bug that lighting return error if gcs url starts with gs:// [#30254](https://github.com/pingcap/tidb/pull/30254) + - Avoid tikv trigger auto region split by lower the ingest kv count threshold [#30018](https://github.com/pingcap/tidb/issues/30018) + - Fix log doesn't output to stdout when passing --log-file="-" [#29876](https://github.com/pingcap/tiflow/issues/29876) + + (dup) - Fix the issue that TiDB Lightning does not report errors when the S3 storage path does not exist #28031 [#30709](https://github.com/pingcap/tiflow/issues/30709) From 09e0a69635cf6abaca36a187f80ba0a57e87b248 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Mon, 28 Feb 2022 21:53:20 +0800 Subject: [PATCH 03/32] Update release-5.3.1.md --- releases/release-5.3.1.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index bcd308867b6f..face06b178da 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -12,24 +12,24 @@ TiDB 版本:5.3.1 ## 功能增强 -TiDB +- TiDB - 整理用户登录模式匹配的逻辑,增强 MySQL 兼容 [#30450](https://github.com/pingcap/tidb/pull/30450) -TiKV +- TiKV - 通过减少需要 resolve 锁的 region 数来减少 CDC 恢复时间。 [#11993](https://github.com/tikv/tikv/issues/11993) - 通过调整 raftlog GC 写入的 batch 大小来加速 GC。[#11404](https://github.com/tikv/tikv/issues/11404) (dup) - Update the proc filesystem (procfs) to v0.12.0 [#11702](https://github.com/tikv/tikv/issues/11702) -PD +- PD - Improve DR_STATE file content format [#4341](https://github.com/tikv/pd/issues/4341) -Tools +- Tools - TiCDC + - TiCDC - 暴露 Kafka Producer 配置参数以使之在 cdc 中可配置 [#4385](https://github.com/pingcap/tiflow/issues/4385) - Add pre clean up process when s3 enable [#3878](https://github.com/pingcap/tiflow/issues/3878) @@ -43,13 +43,13 @@ Tools (dup) - Add more Promethous and Grafana monitoring metrics and alerts, including `no owner alert`, `mounter row`, `table sink total row`, and `buffer sink total row` [#4054](https://github.com/pingcap/tiflow/issues/4054) [#1606](https://github.com/pingcap/tiflow/issues/1606) (dup) - Reduce the time for the KV client to recover when a TiKV store is down [#3191](https://github.com/pingcap/tiflow/issues/3191) - Lightning + - Lightning - Make tidb-lightning pre-check output message clearer [#30395](https://github.com/pingcap/tiflow/issues/30395) ## Bug 修复 -TiDB +- TiDB - 修复 date_format 对 '\n' 处理与 MySQL 不兼容的问题 [#32503](https://github.com/pingcap/tidb/pull/32503) - 修复 `alter column set default` 错误修改表定义的问题 [#31074](https://github.com/pingcap/tidb/issues/31074) @@ -64,7 +64,7 @@ TiDB (dup) - 修复 `INSERT ... SELECT ... ON DUPLICATE KEY UPDATE` panic 的问题 [#28078](https://github.com/pingcap/tidb/issues/28078) -TiKV +- TiKV - 修复 peer 在 Applying 状态下时快照文件被删除造成的 panic [#11746](https://github.com/tikv/tikv/issues/11746) - 修复 `level0_slowdown_trigger` 被显式设置,且流量控制开启时的 QPS 回退。 [#11424](https://github.com/tikv/tikv/issues/11424) @@ -85,7 +85,7 @@ TiKV (dup) - Fix a bug that tikv-ctl cannot return the correct Region-related information [#11393](https://github.com/tikv/tikv/issues/11393) (dup) - Fix the issue that the average latency of the by-instance gRPC requests is inaccurate in TiKV metrics [#11299](https://github.com/tikv/tikv/issues/11299) -TiFlash +- TiFlash - 修复 cast(arg as decimal(x,y)) 在入参 arg 大于 decimal(x,y) 表示范围时,计算结果出错的问题 - 修复启用 max_memory_usage 和 max_memory_usage_for_all_queries 配置项时,TiFlash 崩溃的问题 @@ -98,7 +98,7 @@ TiFlash - 修复当查询的过滤条件形如 where 时,计算结果出错的问题 - 修复 cast(string as datetime) 在入参形如 %Y-%m-%d\n%H:%i:%s 时,查询结果出错的问题 -PD +- PD - 修复特定情况的调度会带有不需要的 JointConsensus 步骤的问题 [#4362](https://github.com/tikv/pd/issues/4362) - 修复对 Voter 直接进行降级的调度无法执行的问题 [#4444](https://github.com/tikv/pd/issues/4444) @@ -107,13 +107,13 @@ PD (dup) - Fix the issue that the cold hotspot data cannot be deleted from the hotspot statistics [#4390](https://github.com/tikv/pd/issues/4390) -Tools +- Tools - Backup & Restore (BR) + - Backup & Restore (BR) - Fix a bug that caused region unbalanced after restoring. [#31034](https://github.com/pingcap/tiflow/issues/31034) - TiCDC + - TiCDC - 修复了 varchar 类型值长度过长时的 "Column length too big" 错误 [#4637](https://github.com/pingcap/tiflow/issues/4637) - 修复了 CDC 程序在 PD leader 被杀死时的异常退出问题 [#4248](https://github.com/pingcap/tiflow/issues/4248) @@ -153,7 +153,7 @@ Tools (dup) - Fix the issue that Avro sink does not support parsing JSON type columns [#3624](https://github.com/pingcap/tiflow/issues/3624) (dup) - Fix the negative value error in the changefeed checkpoint lag [#3010](https://github.com/pingcap/tiflow/issues/3010) - TiDB Lightning + - TiDB Lightning - Fix the bug that lightning may not clean up metadata schema when some of the import contains no source files. [#28144](https://github.com/pingcap/tidb/issues/28144) - Fix the bug that lighting return error if gcs url starts with gs:// [#30254](https://github.com/pingcap/tidb/pull/30254) From 1d2c434ca38e606db295070d00530e8ca27020b0 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Tue, 1 Mar 2022 12:26:59 +0800 Subject: [PATCH 04/32] Apply suggestions from code review --- releases/release-5.3.1.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index face06b178da..e451c41b2539 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -4,7 +4,7 @@ title: TiDB 5.3.1 Release Notes # TiDB 5.3.1 Release Notes -发版日期:2021 年 x 月 x 日 +发版日期:2022 年 x 月 x 日 TiDB 版本:5.3.1 @@ -31,10 +31,10 @@ TiDB 版本:5.3.1 - TiCDC - - 暴露 Kafka Producer 配置参数以使之在 cdc 中可配置 [#4385](https://github.com/pingcap/tiflow/issues/4385) - - Add pre clean up process when s3 enable [#3878](https://github.com/pingcap/tiflow/issues/3878) - - TiCDC 客户端现在可以在未指定证书名字的情况下工作了 [#3882](https://github.com/pingcap/tiflow/pull/3882) - - 为 CDC 每个表维护单独的 Checkpoint,避免 Checkpoint 被意外推进 [#4083](https://github.com/pingcap/tiflow/pull/4083) + - 暴露 Kafka producer 配置参数以使之在 TiCDC 中可配置 [#4385](https://github.com/pingcap/tiflow/issues/4385) + - 在 S3 启动前增加一个预清理进程 [#3878](https://github.com/pingcap/tiflow/issues/3878) + - TiCDC 客户端能在未指定证书名的情况下工作 [#3627](https://github.com/pingcap/tiflow/issues/3627) + - 为每个表维护单独的 checkpoint,避免 checkpoint 被意外推进 [#3545](https://github.com/pingcap/tiflow/issues/3545) (dup) - Add the exponential backoff mechanism for restarting a changefeed. [#3329](https://github.com/pingcap/tiflow/issues/3329) (dup) - Change the default value of Kafka Sink `partition-num` to 3 so that TiCDC distributes messages across Kafka partitions more evenly [#3337](https://github.com/pingcap/tiflow/issues/3337) @@ -115,22 +115,22 @@ TiDB 版本:5.3.1 - TiCDC - - 修复了 varchar 类型值长度过长时的 "Column length too big" 错误 [#4637](https://github.com/pingcap/tiflow/issues/4637) - - 修复了 CDC 程序在 PD leader 被杀死时的异常退出问题 [#4248](https://github.com/pingcap/tiflow/issues/4248) - - 修复了 UPDATE 预计在安全模式下导致 DM 进程挂掉的问题 [#4317](https://github.com/pingcap/tiflow/issues/4317) - - 修复了监控面板中 cached region 项出现负值的问题 [#4290](https://github.com/pingcap/tiflow/pull/4290) + - 修复了 varchar 类型值长度过长时的 `Column length too big` 错误 [#4637](https://github.com/pingcap/tiflow/issues/4637) + - 修复了 TiCDC 进程在 PD leader 被杀死时的异常退出问题 [#4248](https://github.com/pingcap/tiflow/issues/4248) + - 修复了 UPDATE 语句在安全模式下执行错误会导致 DM 进程挂掉的问题 [#4317](https://github.com/pingcap/tiflow/issues/4317) + - 修复了监控面板中 cached region 项出现负值的问题 [#4300](https://github.com/pingcap/tiflow/issues/4300) - 修复了 HTTP API 在查询的组件不存在时导致 CDC 挂掉的问题 [#3840](https://github.com/pingcap/tiflow/issues/3840) - 修复了 DM 的 master/worker 线程以特定顺序重启后中继状态错误的问题 [#3478](https://github.com/pingcap/tiflow/issues/3478) - 修复了 DM worker 在重启后无法完成初始化的问题 [#3344](https://github.com/pingcap/tiflow/issues/3344) - 修复了 DM 任务在分区表相关 DDL 执行时间过长时失败的问题 [#3854](https://github.com/pingcap/tiflow/issues/3854) - 修复了 DM 在上游是 MySQL 8.0 时报错 "invalid sequence" 的问题 [#3847](https://github.com/pingcap/tiflow/issues/3847) - 修复了移除一个暂停的同步时,CDC Redo Log 无法被正确清理的问题 [#3919](https://github.com/pingcap/tiflow/pull/3919) - - 改进了 DM 的失败重试策略以避免潜在的数据丢失问题 [#3487](https://github.com/pingcap/tiflow/issues/3487) - - 修复容器环境中的 OOM 现象 [#3439](https://github.com/pingcap/tiflow/pull/3439) - - 修复了停掉处于加载阶段的任务会导致它被意外调度走的问题 [#3771](https://github.com/pingcap/tiflow/issues/3771) + - 修复了 DM 采用细粒度失败重试策略导致数据丢失问题 [#3487](https://github.com/pingcap/tiflow/issues/3487) + - 修复容器环境中的 OOM 现象 [#1798](https://github.com/pingcap/tiflow/issues/1798) + - 修复了停止加载中的任务会导致它被意外调度的问题 [#3771](https://github.com/pingcap/tiflow/issues/3771) - 纠正了在 Loader 上 query-status 查询到错误的进度的问题 [#3252](https://github.com/pingcap/tiflow/issues/3252) - - 修复了 CDC 的 HTTP API 在集群中存在不同版本 CDC 结点时无法正常工作的问题 [#3483](https://github.com/pingcap/tiflow/issues/3483) - - 修复了当 CDC Redo Log 配置在 S3 存储上时的异常退出问题 [#3523](https://github.com/pingcap/tiflow/issues/3523) + - 修复了 HTTP API 在集群中存在不同版本 TiCDC 节点时无法正常工作的问题 [#3483](https://github.com/pingcap/tiflow/issues/3483) + - 修复了当 CDC Redo Log 配置在 S3 存储上时 TiCDC 异常退出问题 [#3523](https://github.com/pingcap/tiflow/issues/3523) (dup) - Fix the issue that default values cannot be replicated [#3793](https://github.com/pingcap/tiflow/issues/3793) (dup) - Fix a bug that MySQL sink generates duplicated `replace` SQL statements if `batch-replace-enable` is disabled [#4501](https://github.com/pingcap/tiflow/issues/4501) From d70db12432d14d861eb4fec79b9ac411ab048f16 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Tue, 1 Mar 2022 14:11:06 +0800 Subject: [PATCH 05/32] Update TOC.md --- TOC.md | 1 + 1 file changed, 1 insertion(+) diff --git a/TOC.md b/TOC.md index 589f698277f1..8ac55e45d910 100644 --- a/TOC.md +++ b/TOC.md @@ -577,6 +577,7 @@ - [发布版本汇总](/releases/release-notes.md) - [版本发布时间线](/releases/release-timeline.md) - v5.3 + - [5.3.1](/releases/release-5.3.0.md) - [5.3.0](/releases/release-5.3.0.md) - v5.2 - [5.2.3](/releases/release-5.2.3.md) From c5b204739313c62d1ddfec1ac39fda3973f58559 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 1 Mar 2022 17:06:34 +0800 Subject: [PATCH 06/32] Apply suggestions from code review --- releases/release-5.3.1.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index e451c41b2539..4bad533bb316 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -9,6 +9,11 @@ title: TiDB 5.3.1 Release Notes TiDB 版本:5.3.1 ## 兼容性更改 +- Tools + + - Lightning + + - 将 Region max-keys 的默认值从 1_440_000 调整为 1_280_000,以避免数据导入后出现过多空 Region [#30018](https://github.com/pingcap/tidb/issues/30018) ## 功能增强 @@ -45,7 +50,7 @@ TiDB 版本:5.3.1 - Lightning - - Make tidb-lightning pre-check output message clearer [#30395](https://github.com/pingcap/tiflow/issues/30395) + - 优化了本地磁盘空间检查失败时前置检查的提示信息 [#30395](https://github.com/pingcap/tiflow/issues/30395) ## Bug 修复 @@ -111,7 +116,7 @@ TiDB 版本:5.3.1 - Backup & Restore (BR) - - Fix a bug that caused region unbalanced after restoring. [#31034](https://github.com/pingcap/tiflow/issues/31034) + - 修复当恢复完成后,Region 有可能分布不均的问题 [#31034](https://github.com/pingcap/tiflow/issues/31034) - TiCDC @@ -155,9 +160,8 @@ TiDB 版本:5.3.1 - TiDB Lightning - - Fix the bug that lightning may not clean up metadata schema when some of the import contains no source files. [#28144](https://github.com/pingcap/tidb/issues/28144) - - Fix the bug that lighting return error if gcs url starts with gs:// [#30254](https://github.com/pingcap/tidb/pull/30254) - - Avoid tikv trigger auto region split by lower the ingest kv count threshold [#30018](https://github.com/pingcap/tidb/issues/30018) - - Fix log doesn't output to stdout when passing --log-file="-" [#29876](https://github.com/pingcap/tiflow/issues/29876) + - 修复在某些导入操作没有包含源文件时,Lightning 不会删除 metadata schema 的问题 [#28144](https://github.com/pingcap/tidb/issues/28144) + - 修复存储 URL 前缀为 "gs://xxx" 而不是 "gcs://xxx" 时,Lightning 报错的问题 [#30254](https://github.com/pingcap/tidb/pull/30254) + - 修复设置 --log-file="-" 时,没有 log 输出到 stdout 的问题 [#29876](https://github.com/pingcap/tidb/issues/29876) (dup) - Fix the issue that TiDB Lightning does not report errors when the S3 storage path does not exist #28031 [#30709](https://github.com/pingcap/tiflow/issues/30709) From 2e1b32656092140bd7cd1e3455bac1fb949122e8 Mon Sep 17 00:00:00 2001 From: Ran Date: Tue, 1 Mar 2022 17:10:05 +0800 Subject: [PATCH 07/32] Apply suggestions from code review --- releases/release-5.3.1.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 4bad533bb316..6b8b955ab416 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -92,16 +92,16 @@ TiDB 版本:5.3.1 - TiFlash - - 修复 cast(arg as decimal(x,y)) 在入参 arg 大于 decimal(x,y) 表示范围时,计算结果出错的问题 - - 修复启用 max_memory_usage 和 max_memory_usage_for_all_queries 配置项时,TiFlash 崩溃的问题 - - 修复 cast(string ad real) 在部分场景下计算结果出错的问题 - - 修复 cast(string ad decimal) 在部分场景下计算结果出错的问题 + - 修复 `cast(arg as decimal(x,y))` 在入参 `arg` 大于 `decimal(x,y)` 表示范围时,计算结果出错的问题 + - 修复启用 `max_memory_usage` 和 `max_memory_usage_for_all_queries` 配置项时,TiFlash 崩溃的问题 + - 修复 `cast(string as real)` 在部分场景下计算结果出错的问题 + - 修复 `cast(string as decimal)` 在部分场景下计算结果出错的问题 - 修复在修改主键列类型为一个范围更大的整型类型时,数据索引不一致的问题 - - 修复 in 表达式在形如 (arg0, arg1) in (x,y) 的多个参数的情况下计算结果出错的问题 - - 修复 MPP 查询被 kill 时,TiFlash 崩溃的问题 - - 修复 str_to_date 函数在入参以 0 开头时计算结果出错的问题 - - 修复当查询的过滤条件形如 where 时,计算结果出错的问题 - - 修复 cast(string as datetime) 在入参形如 %Y-%m-%d\n%H:%i:%s 时,查询结果出错的问题 + - 修复 `in` 表达式在形如 `(arg0, arg1) in (x,y)` 的多个参数的情况下计算结果出错的问题 + - (dup) 修复当 MPP 查询被终止时,TiFlash 偶发的崩溃问题 + - 修复 `str_to_date` 函数在入参以 0 开头时计算结果出错的问题 + - 修复当查询的过滤条件形如 `where ` 时,计算结果出错的问题 + - 修复 `cast(string as datetime)` 在入参形如 `%Y-%m-%d\n%H:%i:%s` 时,查询结果出错的问题 - PD From 442c118e110227c4e5ab9e1ed5e9a11ab01c1c42 Mon Sep 17 00:00:00 2001 From: Enwei Date: Tue, 1 Mar 2022 17:26:10 +0800 Subject: [PATCH 08/32] update TiKV and PD parts --- releases/release-5.3.1.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 6b8b955ab416..5a6f425f21b9 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -23,14 +23,14 @@ TiDB 版本:5.3.1 - TiKV - - 通过减少需要 resolve 锁的 region 数来减少 CDC 恢复时间。 [#11993](https://github.com/tikv/tikv/issues/11993) - - 通过调整 raftlog GC 写入的 batch 大小来加速 GC。[#11404](https://github.com/tikv/tikv/issues/11404) + - 通过减少需要进行 Resolve Locks(清理锁)步骤的 Region 数量来减少 CDC 恢复时间 [#11993](https://github.com/tikv/tikv/issues/11993) + - 通过增加对 Raft log 进行垃圾回收 (GC) 时的 write batch 大小来加快 GC 速度 [#11404](https://github.com/tikv/tikv/issues/11404) (dup) - Update the proc filesystem (procfs) to v0.12.0 [#11702](https://github.com/tikv/tikv/issues/11702) - PD - - Improve DR_STATE file content format [#4341](https://github.com/tikv/pd/issues/4341) + - 优化 `DR_STATE` 文件内容的格式 [#4341](https://github.com/tikv/pd/issues/4341) - Tools @@ -71,10 +71,10 @@ TiDB 版本:5.3.1 - TiKV - - 修复 peer 在 Applying 状态下时快照文件被删除造成的 panic [#11746](https://github.com/tikv/tikv/issues/11746) - - 修复 `level0_slowdown_trigger` 被显式设置,且流量控制开启时的 QPS 回退。 [#11424](https://github.com/tikv/tikv/issues/11424) - - 修复 cgroup controller 没有被挂载造成的 panic。[#11569](https://github.com/tikv/tikv/issues/11569) - - 修复 TiKV 停止后 resolved ts 的延迟增加。 [#11352](https://github.com/tikv/tikv/pull/11352) + - 修复 peer 状态为 Applying 时快照文件被删除会造成 Panic 的问题 [#11746](https://github.com/tikv/tikv/issues/11746) + - 修复开启流量控制且显式设置 `level0_slowdown_trigger` 时出现 QPS 下降的问题 [#11424](https://github.com/tikv/tikv/issues/11424) + - 修复 cgroup controller 没有被挂载会造成 Panic 的问题 [#11569](https://github.com/tikv/tikv/issues/11569) + - 修复 TiKV 停止后 Resolved TS 延迟会增加的问题 [#11352](https://github.com/tikv/tikv/pull/11352) (dup) - Fix a bug that TiKV cannot delete a range of data (`unsafe_destroy_range` cannot be executed) when the GC worker is busy [#11903](https://github.com/tikv/tikv/issues/11903) (dup) - Fix the issue that destroying a peer might cause high latency [#10210](https://github.com/tikv/tikv/issues/10210) @@ -105,9 +105,9 @@ TiDB 版本:5.3.1 - PD - - 修复特定情况的调度会带有不需要的 JointConsensus 步骤的问题 [#4362](https://github.com/tikv/pd/issues/4362) - - 修复对 Voter 直接进行降级的调度无法执行的问题 [#4444](https://github.com/tikv/pd/issues/4444) - - 修复更新副本同步模式配置时的数据竞争问题 [#4325](https://github.com/tikv/pd/issues/4325) + - 修复特定情况下调度带有不需要的 JointConsensus 步骤的问题 [#4362](https://github.com/tikv/pd/issues/4362) + - 修复无法执行对 Voter 直接进行降级的调度的问题 [#4444](https://github.com/tikv/pd/issues/4444) + - 修复更新副本同步模式的配置时出现的数据竞争问题 [#4325](https://github.com/tikv/pd/issues/4325) - 修复特定情况下读锁不释放的问题 [#4354](https://github.com/tikv/pd/issues/4354) (dup) - Fix the issue that the cold hotspot data cannot be deleted from the hotspot statistics [#4390](https://github.com/tikv/pd/issues/4390) From d8243b5de20b102db160cb4654e393990c8dcad1 Mon Sep 17 00:00:00 2001 From: Enwei Date: Tue, 1 Mar 2022 18:58:46 +0800 Subject: [PATCH 09/32] Apply suggestions from code review --- releases/release-5.3.1.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 5a6f425f21b9..4e7b9c76481a 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -23,7 +23,7 @@ TiDB 版本:5.3.1 - TiKV - - 通过减少需要进行 Resolve Locks(清理锁)步骤的 Region 数量来减少 CDC 恢复时间 [#11993](https://github.com/tikv/tikv/issues/11993) + - 通过减少需要进行 Resolve Locks(清理锁)步骤的 Region 数量来减少 TiCDC 恢复时间 [#11993](https://github.com/tikv/tikv/issues/11993) - 通过增加对 Raft log 进行垃圾回收 (GC) 时的 write batch 大小来加快 GC 速度 [#11404](https://github.com/tikv/tikv/issues/11404) (dup) - Update the proc filesystem (procfs) to v0.12.0 [#11702](https://github.com/tikv/tikv/issues/11702) @@ -90,6 +90,15 @@ TiDB 版本:5.3.1 (dup) - Fix a bug that tikv-ctl cannot return the correct Region-related information [#11393](https://github.com/tikv/tikv/issues/11393) (dup) - Fix the issue that the average latency of the by-instance gRPC requests is inaccurate in TiKV metrics [#11299](https://github.com/tikv/tikv/issues/11299) +- PD + + - 修复特定情况下调度带有不需要的 JointConsensus 步骤的问题 [#4362](https://github.com/tikv/pd/issues/4362) + - 修复对单个 Voter 直接进行降级时无法执行调度的问题 [#4444](https://github.com/tikv/pd/issues/4444) + - 修复更新副本同步模式的配置时出现的数据竞争问题 [#4325](https://github.com/tikv/pd/issues/4325) + - 修复特定情况下读锁不释放的问题 [#4354](https://github.com/tikv/pd/issues/4354) + + (dup) - Fix the issue that the cold hotspot data cannot be deleted from the hotspot statistics [#4390](https://github.com/tikv/pd/issues/4390) + - TiFlash - 修复 `cast(arg as decimal(x,y))` 在入参 `arg` 大于 `decimal(x,y)` 表示范围时,计算结果出错的问题 From de4680cb006d70422658410c635f84dfe3754cd3 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Tue, 1 Mar 2022 19:33:59 +0800 Subject: [PATCH 10/32] Apply suggestions from code review Co-authored-by: Grace Cai --- releases/release-5.3.1.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 4e7b9c76481a..aef59631d147 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -19,7 +19,7 @@ TiDB 版本:5.3.1 - TiDB - - 整理用户登录模式匹配的逻辑,增强 MySQL 兼容 [#30450](https://github.com/pingcap/tidb/pull/30450) + - 优化用户登录模式匹配的逻辑,增强与 MySQL 的兼容性 [#30450](https://github.com/pingcap/tidb/pull/30450) - TiKV @@ -56,16 +56,16 @@ TiDB 版本:5.3.1 - TiDB - - 修复 date_format 对 '\n' 处理与 MySQL 不兼容的问题 [#32503](https://github.com/pingcap/tidb/pull/32503) - - 修复 `alter column set default` 错误修改表定义的问题 [#31074](https://github.com/pingcap/tidb/issues/31074) - - 修复打开 tidb_restricted_read_only 后 tidb_super_read_only 没有自动打开的问题 [#31745](https://github.com/pingcap/tidb/issues/31745) - - 修复 greatest/least 表达式 collation 处理错误的问题 [#31789](https://github.com/pingcap/tidb/issues/31789) - - 修复 mpp task list 为空时 TiDB 报错的问题 [#31636](https://github.com/pingcap/tidb/issues/31636) + - 修复 date_format 对 `'\n'` 的处理与 MySQL 不兼容的问题 [#32503](https://github.com/pingcap/tidb/pull/32503) + - 修复 `alter column set default` 错误地修改表定义的问题 [#31074](https://github.com/pingcap/tidb/issues/31074) + - 修复开启 `tidb_restricted_read_only` 后 `tidb_super_read_only` 没有自动开启的问题 [#31745](https://github.com/pingcap/tidb/issues/31745) + - 修复带有 collation 的 `greatest` 或 `least` 函数结果出错的问题 [#31789](https://github.com/pingcap/tidb/issues/31789) + - 修复执行查询时报 MPP task list 为空错误的问题 [#31636](https://github.com/pingcap/tidb/issues/31636) - 修复 innerWorker panic 导致的 index join 结果错误的问题 [#31494](https://github.com/pingcap/tidb/issues/31494) - - 修复将 float 列改为 double 后结果错误问题 [#31372](https://github.com/pingcap/tidb/issues/31372) - - 修复 IndexLookUpJoin 以及 Union 算子并发启动 worker 导致事务报错的问题 [#30468](https://github.com/pingcap/tidb/issues/30468) - - 修复针对 Order By 的优化导致的结果错误问题 [#30271](https://github.com/pingcap/tidb/issues/30271) - - 修复慢查询日志 `MaxDays` 以及 `MaxBackups` 不生效的问题 [#25716](https://github.com/pingcap/tidb/issues/25716) + - 修复将 `FLOAT` 列改为 `DOUBLE` 列后查询结果有误的问题 [#31372](https://github.com/pingcap/tidb/issues/31372) + - 修复查询时用到 index lookup join 导致 `invalid transaction` 报错的问题 [#30468](https://github.com/pingcap/tidb/issues/30468) + - 修复针对 `Order By` 的优化导致查询结果有误的问题 [#30271](https://github.com/pingcap/tidb/issues/30271) + - 修复 `MaxDays` 和 `MaxBackups` 的配置对慢查询日志不生效的问题 [#25716](https://github.com/pingcap/tidb/issues/25716) (dup) - 修复 `INSERT ... SELECT ... ON DUPLICATE KEY UPDATE` panic 的问题 [#28078](https://github.com/pingcap/tidb/issues/28078) From 3af6c92eb3442bf2fd99ee93c873164862e8838d Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Tue, 1 Mar 2022 20:38:49 +0800 Subject: [PATCH 11/32] Update TOC.md --- TOC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TOC.md b/TOC.md index 8ac55e45d910..5b71413479d9 100644 --- a/TOC.md +++ b/TOC.md @@ -577,7 +577,7 @@ - [发布版本汇总](/releases/release-notes.md) - [版本发布时间线](/releases/release-timeline.md) - v5.3 - - [5.3.1](/releases/release-5.3.0.md) + - [5.3.1](/releases/release-5.3.1.md) - [5.3.0](/releases/release-5.3.0.md) - v5.2 - [5.2.3](/releases/release-5.2.3.md) From 25c2582a97e617e0fbe8fbfd1a163d625da1fb26 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 1 Mar 2022 20:45:03 +0800 Subject: [PATCH 12/32] Update releases/release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index aef59631d147..11915d6984c1 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -13,7 +13,7 @@ TiDB 版本:5.3.1 - Lightning - - 将 Region max-keys 的默认值从 1_440_000 调整为 1_280_000,以避免数据导入后出现过多空 Region [#30018](https://github.com/pingcap/tidb/issues/30018) + - 将 `regionMaxKeyCount` 的默认值从 1_440_000 调整为 1_280_000,以避免数据导入后出现过多空 Region [#30018](https://github.com/pingcap/tidb/issues/30018) ## 功能增强 From 3b5ba48108897944a35ff18b2df3a57528ae4472 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 1 Mar 2022 21:18:02 +0800 Subject: [PATCH 13/32] Update releases/release-5.3.1.md Co-authored-by: Enwei --- releases/release-5.3.1.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 11915d6984c1..cd8e2198afb5 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -112,15 +112,6 @@ TiDB 版本:5.3.1 - 修复当查询的过滤条件形如 `where ` 时,计算结果出错的问题 - 修复 `cast(string as datetime)` 在入参形如 `%Y-%m-%d\n%H:%i:%s` 时,查询结果出错的问题 -- PD - - - 修复特定情况下调度带有不需要的 JointConsensus 步骤的问题 [#4362](https://github.com/tikv/pd/issues/4362) - - 修复无法执行对 Voter 直接进行降级的调度的问题 [#4444](https://github.com/tikv/pd/issues/4444) - - 修复更新副本同步模式的配置时出现的数据竞争问题 [#4325](https://github.com/tikv/pd/issues/4325) - - 修复特定情况下读锁不释放的问题 [#4354](https://github.com/tikv/pd/issues/4354) - - (dup) - Fix the issue that the cold hotspot data cannot be deleted from the hotspot statistics [#4390](https://github.com/tikv/pd/issues/4390) - - Tools - Backup & Restore (BR) From b8729cedcdafd2410d6dac3c59f5c7f43d4f2785 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 1 Mar 2022 21:19:11 +0800 Subject: [PATCH 14/32] Update releases/release-5.3.1.md Co-authored-by: Enwei --- releases/release-5.3.1.md | 1 + 1 file changed, 1 insertion(+) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index cd8e2198afb5..0518ff9ee56d 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -9,6 +9,7 @@ title: TiDB 5.3.1 Release Notes TiDB 版本:5.3.1 ## 兼容性更改 + - Tools - Lightning From 9ea0b1a456efb04f186cbf07af4e671b2b800e81 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Tue, 1 Mar 2022 23:02:24 +0800 Subject: [PATCH 15/32] Update releases/release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 0518ff9ee56d..b75184966e8b 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -37,7 +37,7 @@ TiDB 版本:5.3.1 - TiCDC - - 暴露 Kafka producer 配置参数以使之在 TiCDC 中可配置 [#4385](https://github.com/pingcap/tiflow/issues/4385) + - 暴露 Kafka producer 配置参数,使之在 TiCDC 中可配置 [#4385](https://github.com/pingcap/tiflow/issues/4385) - 在 S3 启动前增加一个预清理进程 [#3878](https://github.com/pingcap/tiflow/issues/3878) - TiCDC 客户端能在未指定证书名的情况下工作 [#3627](https://github.com/pingcap/tiflow/issues/3627) - 为每个表维护单独的 checkpoint,避免 checkpoint 被意外推进 [#3545](https://github.com/pingcap/tiflow/issues/3545) From 03dde5bf6c7245c74cb72613d8f4576e6d258e5e Mon Sep 17 00:00:00 2001 From: Ran Date: Wed, 2 Mar 2022 09:11:37 +0800 Subject: [PATCH 16/32] Apply suggestions from code review Co-authored-by: Enwei --- releases/release-5.3.1.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index b75184966e8b..dcf2bcc8e5c0 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -102,14 +102,14 @@ TiDB 版本:5.3.1 - TiFlash - - 修复 `cast(arg as decimal(x,y))` 在入参 `arg` 大于 `decimal(x,y)` 表示范围时,计算结果出错的问题 - - 修复启用 `max_memory_usage` 和 `max_memory_usage_for_all_queries` 配置项时,TiFlash 崩溃的问题 + - 修复 `cast(arg as decimal(x,y))` 在入参 `arg` 大于 `decimal(x,y)` 的表示范围时,计算结果出错的问题 + - 修复开启 `max_memory_usage` 和 `max_memory_usage_for_all_queries` 配置项时,TiFlash 崩溃的问题 - 修复 `cast(string as real)` 在部分场景下计算结果出错的问题 - 修复 `cast(string as decimal)` 在部分场景下计算结果出错的问题 - - 修复在修改主键列类型为一个范围更大的整型类型时,数据索引不一致的问题 + - 修复在把主键列类型修改为一个范围更大的整型类型时,数据索引可能不一致的问题 - 修复 `in` 表达式在形如 `(arg0, arg1) in (x,y)` 的多个参数的情况下计算结果出错的问题 - (dup) 修复当 MPP 查询被终止时,TiFlash 偶发的崩溃问题 - - 修复 `str_to_date` 函数在入参以 0 开头时计算结果出错的问题 + - 修复 `str_to_date` 函数在入参以 0 开头时,计算结果出错的问题 - 修复当查询的过滤条件形如 `where ` 时,计算结果出错的问题 - 修复 `cast(string as datetime)` 在入参形如 `%Y-%m-%d\n%H:%i:%s` 时,查询结果出错的问题 From d6b08812c278ba67bf55eab3d8f0763190f81c47 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Wed, 2 Mar 2022 09:16:19 +0800 Subject: [PATCH 17/32] Apply suggestions from code review Co-authored-by: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> --- releases/release-5.3.1.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index dcf2bcc8e5c0..a41a1dfebe9a 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -12,7 +12,7 @@ TiDB 版本:5.3.1 - Tools - - Lightning + - TiDB Lightning - 将 `regionMaxKeyCount` 的默认值从 1_440_000 调整为 1_280_000,以避免数据导入后出现过多空 Region [#30018](https://github.com/pingcap/tidb/issues/30018) @@ -49,7 +49,7 @@ TiDB 版本:5.3.1 (dup) - Add more Promethous and Grafana monitoring metrics and alerts, including `no owner alert`, `mounter row`, `table sink total row`, and `buffer sink total row` [#4054](https://github.com/pingcap/tiflow/issues/4054) [#1606](https://github.com/pingcap/tiflow/issues/1606) (dup) - Reduce the time for the KV client to recover when a TiKV store is down [#3191](https://github.com/pingcap/tiflow/issues/3191) - - Lightning + - TiDB Lightning - 优化了本地磁盘空间检查失败时前置检查的提示信息 [#30395](https://github.com/pingcap/tiflow/issues/30395) @@ -136,7 +136,7 @@ TiDB 版本:5.3.1 - 修复了停止加载中的任务会导致它被意外调度的问题 [#3771](https://github.com/pingcap/tiflow/issues/3771) - 纠正了在 Loader 上 query-status 查询到错误的进度的问题 [#3252](https://github.com/pingcap/tiflow/issues/3252) - 修复了 HTTP API 在集群中存在不同版本 TiCDC 节点时无法正常工作的问题 [#3483](https://github.com/pingcap/tiflow/issues/3483) - - 修复了当 CDC Redo Log 配置在 S3 存储上时 TiCDC 异常退出问题 [#3523](https://github.com/pingcap/tiflow/issues/3523) + - 修复了当 TiCDC Redo Log 配置在 S3 存储上时 TiCDC 异常退出问题 [#3523](https://github.com/pingcap/tiflow/issues/3523) (dup) - Fix the issue that default values cannot be replicated [#3793](https://github.com/pingcap/tiflow/issues/3793) (dup) - Fix a bug that MySQL sink generates duplicated `replace` SQL statements if `batch-replace-enable` is disabled [#4501](https://github.com/pingcap/tiflow/issues/4501) @@ -161,8 +161,8 @@ TiDB 版本:5.3.1 - TiDB Lightning - - 修复在某些导入操作没有包含源文件时,Lightning 不会删除 metadata schema 的问题 [#28144](https://github.com/pingcap/tidb/issues/28144) - - 修复存储 URL 前缀为 "gs://xxx" 而不是 "gcs://xxx" 时,Lightning 报错的问题 [#30254](https://github.com/pingcap/tidb/pull/30254) + - 修复在某些导入操作没有包含源文件时,TiDB Lightning 不会删除 metadata schema 的问题 [#28144](https://github.com/pingcap/tidb/issues/28144) + - 修复存储 URL 前缀为 "gs://xxx" 而不是 "gcs://xxx" 时,TiDB Lightning 报错的问题 [#30254](https://github.com/pingcap/tidb/pull/30254) - 修复设置 --log-file="-" 时,没有 log 输出到 stdout 的问题 [#29876](https://github.com/pingcap/tidb/issues/29876) (dup) - Fix the issue that TiDB Lightning does not report errors when the S3 storage path does not exist #28031 [#30709](https://github.com/pingcap/tiflow/issues/30709) From d0501a33c3a6c69f4905f2f9d124d66b382e4a0e Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Wed, 2 Mar 2022 10:08:36 +0800 Subject: [PATCH 18/32] Update releases/release-5.3.1.md Co-authored-by: guo-shaoge --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index a41a1dfebe9a..c28a0f45ee8f 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -66,7 +66,7 @@ TiDB 版本:5.3.1 - 修复将 `FLOAT` 列改为 `DOUBLE` 列后查询结果有误的问题 [#31372](https://github.com/pingcap/tidb/issues/31372) - 修复查询时用到 index lookup join 导致 `invalid transaction` 报错的问题 [#30468](https://github.com/pingcap/tidb/issues/30468) - 修复针对 `Order By` 的优化导致查询结果有误的问题 [#30271](https://github.com/pingcap/tidb/issues/30271) - - 修复 `MaxDays` 和 `MaxBackups` 的配置对慢查询日志不生效的问题 [#25716](https://github.com/pingcap/tidb/issues/25716) + - 修复慢查询日志 `MaxDays` 和 `MaxBackups` 不生效的问题 [#25716](https://github.com/pingcap/tidb/issues/25716) (dup) - 修复 `INSERT ... SELECT ... ON DUPLICATE KEY UPDATE` panic 的问题 [#28078](https://github.com/pingcap/tidb/issues/28078) From bc368acc54b566dfff9f62362ee92005323e3eb5 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 2 Mar 2022 10:30:46 +0800 Subject: [PATCH 19/32] change en dup notes to zh --- releases/release-5.3.1.md | 145 ++++++++++++++++++-------------------- 1 file changed, 69 insertions(+), 76 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index c28a0f45ee8f..f32804868d38 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -10,44 +10,42 @@ TiDB 版本:5.3.1 ## 兼容性更改 -- Tools ++ Tools + + + TiDB Lightning - - TiDB Lightning - - 将 `regionMaxKeyCount` 的默认值从 1_440_000 调整为 1_280_000,以避免数据导入后出现过多空 Region [#30018](https://github.com/pingcap/tidb/issues/30018) ## 功能增强 -- TiDB ++ TiDB - 优化用户登录模式匹配的逻辑,增强与 MySQL 的兼容性 [#30450](https://github.com/pingcap/tidb/pull/30450) -- TiKV ++ TiKV - 通过减少需要进行 Resolve Locks(清理锁)步骤的 Region 数量来减少 TiCDC 恢复时间 [#11993](https://github.com/tikv/tikv/issues/11993) - 通过增加对 Raft log 进行垃圾回收 (GC) 时的 write batch 大小来加快 GC 速度 [#11404](https://github.com/tikv/tikv/issues/11404) - - (dup) - Update the proc filesystem (procfs) to v0.12.0 [#11702](https://github.com/tikv/tikv/issues/11702) + - 将 proc filesystem (procfs) 升级至 0.12.0 版本 [#11702](https://github.com/tikv/tikv/issues/11702) - PD - 优化 `DR_STATE` 文件内容的格式 [#4341](https://github.com/tikv/pd/issues/4341) -- Tools - - - TiCDC ++ Tools - - 暴露 Kafka producer 配置参数,使之在 TiCDC 中可配置 [#4385](https://github.com/pingcap/tiflow/issues/4385) - - 在 S3 启动前增加一个预清理进程 [#3878](https://github.com/pingcap/tiflow/issues/3878) - - TiCDC 客户端能在未指定证书名的情况下工作 [#3627](https://github.com/pingcap/tiflow/issues/3627) - - 为每个表维护单独的 checkpoint,避免 checkpoint 被意外推进 [#3545](https://github.com/pingcap/tiflow/issues/3545) + + TiCDC - (dup) - Add the exponential backoff mechanism for restarting a changefeed. [#3329](https://github.com/pingcap/tiflow/issues/3329) - (dup) - Change the default value of Kafka Sink `partition-num` to 3 so that TiCDC distributes messages across Kafka partitions more evenly [#3337](https://github.com/pingcap/tiflow/issues/3337) - (dup) - Reduce the count of "EventFeed retry rate limited" logs [#4006](https://github.com/pingcap/tiflow/issues/4006) - (dup) - Set the default value of `max-message-bytes` to 10M [#4041](https://github.com/pingcap/tiflow/issues/4041) - (dup) - Add more Promethous and Grafana monitoring metrics and alerts, including `no owner alert`, `mounter row`, `table sink total row`, and `buffer sink total row` [#4054](https://github.com/pingcap/tiflow/issues/4054) [#1606](https://github.com/pingcap/tiflow/issues/1606) - (dup) - Reduce the time for the KV client to recover when a TiKV store is down [#3191](https://github.com/pingcap/tiflow/issues/3191) + - 暴露 Kafka producer 配置参数,使之在 TiCDC 中可配置 [#4385](https://github.com/pingcap/tiflow/issues/4385) + - 在 S3 启动前增加一个预清理进程 [#3878](https://github.com/pingcap/tiflow/issues/3878) + - TiCDC 客户端能在未指定证书名的情况下工作 [#3627](https://github.com/pingcap/tiflow/issues/3627) + - 修复因 checkpoint 不准确导致的潜在的数据丢失问题 [#3545](https://github.com/pingcap/tiflow/issues/3545) + - 为 changefeed 重启操作添加指数退避机制 [#3329](https://github.com/pingcap/tiflow/issues/3329) + - 将 Kafka Sink `partition-num` 的默认值改为 3,使 TiCDC 更加平均地分发消息到各个 Kafka partition [#3337](https://github.com/pingcap/tiflow/issues/3337) + - 减少 "EventFeed retry rate limited" 日志的数量 [#4006](https://github.com/pingcap/tiflow/issues/4006) + - 将 `max-message-bytes` 默认值设置为 10M [#4041](https://github.com/pingcap/tiflow/issues/4041) + - 增加更多 Promethous 和 Grafana 监控告警参数,包括 `no owner alert`、`mounter row`、`table sink total row` 和 `buffer sink total row` [#4054](https://github.com/pingcap/tiflow/issues/4054) [#1606](https://github.com/pingcap/tiflow/issues/1606) + - 减少 TiKV 节点宕机后 KV client 恢复的时间 [#3191](https://github.com/pingcap/tiflow/issues/3191) - TiDB Lightning @@ -55,7 +53,7 @@ TiDB 版本:5.3.1 ## Bug 修复 -- TiDB ++ TiDB - 修复 date_format 对 `'\n'` 的处理与 MySQL 不兼容的问题 [#32503](https://github.com/pingcap/tidb/pull/32503) - 修复 `alter column set default` 错误地修改表定义的问题 [#31074](https://github.com/pingcap/tidb/issues/31074) @@ -66,41 +64,38 @@ TiDB 版本:5.3.1 - 修复将 `FLOAT` 列改为 `DOUBLE` 列后查询结果有误的问题 [#31372](https://github.com/pingcap/tidb/issues/31372) - 修复查询时用到 index lookup join 导致 `invalid transaction` 报错的问题 [#30468](https://github.com/pingcap/tidb/issues/30468) - 修复针对 `Order By` 的优化导致查询结果有误的问题 [#30271](https://github.com/pingcap/tidb/issues/30271) - - 修复慢查询日志 `MaxDays` 和 `MaxBackups` 不生效的问题 [#25716](https://github.com/pingcap/tidb/issues/25716) + - 修复 `MaxDays` 和 `MaxBackups` 配置项对慢日志不生效的问题 [#25716](https://github.com/pingcap/tidb/issues/25716) + - 修复 `INSERT ... SELECT ... ON DUPLICATE KEY UPDATE` 语句 panic 的问题 [#28078](https://github.com/pingcap/tidb/issues/28078) - (dup) - 修复 `INSERT ... SELECT ... ON DUPLICATE KEY UPDATE` panic 的问题 [#28078](https://github.com/pingcap/tidb/issues/28078) - -- TiKV ++ TiKV - 修复 peer 状态为 Applying 时快照文件被删除会造成 Panic 的问题 [#11746](https://github.com/tikv/tikv/issues/11746) - 修复开启流量控制且显式设置 `level0_slowdown_trigger` 时出现 QPS 下降的问题 [#11424](https://github.com/tikv/tikv/issues/11424) - 修复 cgroup controller 没有被挂载会造成 Panic 的问题 [#11569](https://github.com/tikv/tikv/issues/11569) - 修复 TiKV 停止后 Resolved TS 延迟会增加的问题 [#11352](https://github.com/tikv/tikv/pull/11352) - - (dup) - Fix a bug that TiKV cannot delete a range of data (`unsafe_destroy_range` cannot be executed) when the GC worker is busy [#11903](https://github.com/tikv/tikv/issues/11903) - (dup) - Fix the issue that destroying a peer might cause high latency [#10210](https://github.com/tikv/tikv/issues/10210) - (dup) - Fix a bug that the `any_value` function returns a wrong result when regions are empty [#11735](https://github.com/tikv/tikv/issues/11735) - (dup) - Fix the issue that deleting an uninitialized replica might cause an old replica to be recreated [#10533](https://github.com/tikv/tikv/issues/10533) - (dup) - Fix the metadata corruption issue when `Prepare Merge` is triggered after a new election is finished but the isolated peer is not informed [#11526](https://github.com/tikv/tikv/issues/11526) - (dup) - Fix the deadlock issue that happens occasionally when coroutines run too fast [#11549](https://github.com/tikv/tikv/issues/11549) - (dup) - Fix the issue that a down TiKV node causes the resolved timestamp to lag [#11351](https://github.com/tikv/tikv/issues/11351) - (dup) - Fix the issue that batch messages are too large in Raft client implementation [#9714](https://github.com/tikv/tikv/issues/9714) - (dup) - Fix a panic issue that occurs when Region merge, ConfChange, and Snapshot happen at the same time in extreme conditions [#11475](https://github.com/tikv/tikv/issues/11475) - (dup) - Fix the issue that TiKV cannot detect the memory lock when TiKV perform a reverse table scan [#11440](https://github.com/tikv/tikv/issues/11440) - (dup) - Fix the issue that RocksDB flush or compaction causes panic when the disk capacity is full [#11224](https://github.com/tikv/tikv/issues/11224) - (dup) - Fix a bug that tikv-ctl cannot return the correct Region-related information [#11393](https://github.com/tikv/tikv/issues/11393) - (dup) - Fix the issue that the average latency of the by-instance gRPC requests is inaccurate in TiKV metrics [#11299](https://github.com/tikv/tikv/issues/11299) - -- PD + - 修复 GC worker 繁忙后无法执行范围删除(即执行 `unsafe_destroy_range` 参数)的问题 [#11903](https://github.com/tikv/tikv/issues/11903) + - 修复删除 Peer 可能造成高延迟的问题 [#10210](https://github.com/tikv/tikv/issues/10210) + - 修复 Region 没有数据时 `any_value` 函数结果错误的问题 [#11735](https://github.com/tikv/tikv/issues/11735) + - 修复删除未初始化的副本可能会造成旧副本被重新创建的问题 [#10533](https://github.com/tikv/tikv/issues/10533) + - 修复在已完成重新选举但没有通知被隔离的 Peer 的情况下执行 `Prepare Merge` 会导致元数据损坏的问题 [#11526](https://github.com/tikv/tikv/issues/11526) + - 修复协程的执行速度太快时偶尔出现的死锁问题 [#11549](https://github.com/tikv/tikv/issues/11549) + - 修复某个 TiKV 节点停机会导致 Resolved Timestamp 进度落后的问题 [#11351](https://github.com/tikv/tikv/issues/11351) + - 修复 Raft client 中 batch 消息过大的问题 [#9714](https://github.com/tikv/tikv/issues/9714) + - 修复在极端情况下同时进行 Region Merge、ConfChange 和 Snapshot 时,TiKV 会出现 Panic 的问题 [#11475](https://github.com/tikv/tikv/issues/11475) + - 修复逆序扫表时 TiKV 无法正确读到内存锁的问题 [#11440](https://github.com/tikv/tikv/issues/11440) + - 修复当达到磁盘容量满时 RocksDB flush 或 compaction 导致的 panic [#11224](https://github.com/tikv/tikv/issues/11224) + - 修复 tikv-ctl 无法正确输出 Region 相关信息的问题 [#11393](https://github.com/tikv/tikv/issues/11393) + - 修复 TiKV 监控项中实例级别 gRPC 的平均延迟时间不准确的问题 [#11299](https://github.com/tikv/tikv/issues/11299) + ++ PD - 修复特定情况下调度带有不需要的 JointConsensus 步骤的问题 [#4362](https://github.com/tikv/pd/issues/4362) - 修复对单个 Voter 直接进行降级时无法执行调度的问题 [#4444](https://github.com/tikv/pd/issues/4444) - 修复更新副本同步模式的配置时出现的数据竞争问题 [#4325](https://github.com/tikv/pd/issues/4325) - 修复特定情况下读锁不释放的问题 [#4354](https://github.com/tikv/pd/issues/4354) + - 修复当 Region 心跳低于 60 秒时热点 Cache 不能清空的问题 [#4390](https://github.com/tikv/pd/issues/4390) - (dup) - Fix the issue that the cold hotspot data cannot be deleted from the hotspot statistics [#4390](https://github.com/tikv/pd/issues/4390) - -- TiFlash ++ TiFlash - 修复 `cast(arg as decimal(x,y))` 在入参 `arg` 大于 `decimal(x,y)` 的表示范围时,计算结果出错的问题 - 修复开启 `max_memory_usage` 和 `max_memory_usage_for_all_queries` 配置项时,TiFlash 崩溃的问题 @@ -108,23 +103,23 @@ TiDB 版本:5.3.1 - 修复 `cast(string as decimal)` 在部分场景下计算结果出错的问题 - 修复在把主键列类型修改为一个范围更大的整型类型时,数据索引可能不一致的问题 - 修复 `in` 表达式在形如 `(arg0, arg1) in (x,y)` 的多个参数的情况下计算结果出错的问题 - - (dup) 修复当 MPP 查询被终止时,TiFlash 偶发的崩溃问题 + - 修复当 MPP 查询被终止时,TiFlash 偶发的崩溃问题 - 修复 `str_to_date` 函数在入参以 0 开头时,计算结果出错的问题 - 修复当查询的过滤条件形如 `where ` 时,计算结果出错的问题 - 修复 `cast(string as datetime)` 在入参形如 `%Y-%m-%d\n%H:%i:%s` 时,查询结果出错的问题 -- Tools ++ Tools - - Backup & Restore (BR) + + Backup & Restore (BR) - 修复当恢复完成后,Region 有可能分布不均的问题 [#31034](https://github.com/pingcap/tiflow/issues/31034) - - TiCDC + + TiCDC - 修复了 varchar 类型值长度过长时的 `Column length too big` 错误 [#4637](https://github.com/pingcap/tiflow/issues/4637) - 修复了 TiCDC 进程在 PD leader 被杀死时的异常退出问题 [#4248](https://github.com/pingcap/tiflow/issues/4248) - 修复了 UPDATE 语句在安全模式下执行错误会导致 DM 进程挂掉的问题 [#4317](https://github.com/pingcap/tiflow/issues/4317) - - 修复了监控面板中 cached region 项出现负值的问题 [#4300](https://github.com/pingcap/tiflow/issues/4300) + - 修复 `cached region` 监控指标为负数的问题 [#4300](https://github.com/pingcap/tiflow/issues/4300) - 修复了 HTTP API 在查询的组件不存在时导致 CDC 挂掉的问题 [#3840](https://github.com/pingcap/tiflow/issues/3840) - 修复了 DM 的 master/worker 线程以特定顺序重启后中继状态错误的问题 [#3478](https://github.com/pingcap/tiflow/issues/3478) - 修复了 DM worker 在重启后无法完成初始化的问题 [#3344](https://github.com/pingcap/tiflow/issues/3344) @@ -132,37 +127,35 @@ TiDB 版本:5.3.1 - 修复了 DM 在上游是 MySQL 8.0 时报错 "invalid sequence" 的问题 [#3847](https://github.com/pingcap/tiflow/issues/3847) - 修复了移除一个暂停的同步时,CDC Redo Log 无法被正确清理的问题 [#3919](https://github.com/pingcap/tiflow/pull/3919) - 修复了 DM 采用细粒度失败重试策略导致数据丢失问题 [#3487](https://github.com/pingcap/tiflow/issues/3487) - - 修复容器环境中的 OOM 现象 [#1798](https://github.com/pingcap/tiflow/issues/1798) + - 修复在容器环境中 OOM 的问题 [#1798](https://github.com/pingcap/tiflow/issues/1798) - 修复了停止加载中的任务会导致它被意外调度的问题 [#3771](https://github.com/pingcap/tiflow/issues/3771) - 纠正了在 Loader 上 query-status 查询到错误的进度的问题 [#3252](https://github.com/pingcap/tiflow/issues/3252) - 修复了 HTTP API 在集群中存在不同版本 TiCDC 节点时无法正常工作的问题 [#3483](https://github.com/pingcap/tiflow/issues/3483) - 修复了当 TiCDC Redo Log 配置在 S3 存储上时 TiCDC 异常退出问题 [#3523](https://github.com/pingcap/tiflow/issues/3523) - - (dup) - Fix the issue that default values cannot be replicated [#3793](https://github.com/pingcap/tiflow/issues/3793) - (dup) - Fix a bug that MySQL sink generates duplicated `replace` SQL statements if `batch-replace-enable` is disabled [#4501](https://github.com/pingcap/tiflow/issues/4501) - (dup) - Fix the issue that syncer metrics are updated only when querying the status [#4281](https://github.com/pingcap/tiflow/issues/4281) - (dup) - Fix the issue that `mq sink write row` does not have monitoring data [#3431](https://github.com/pingcap/tiflow/issues/3431) - (dup) - Fix the issue that replication cannot be performed when `min.insync.replicas` is smaller than `replication-factor` [#3994](https://github.com/pingcap/tiflow/issues/3994) - (dup) - Fix the issue that the `CREATE VIEW` statement interrupts data replication [#4173](https://github.com/pingcap/tiflow/issues/4173) - (dup) - Fix the issue the schema needs to be reset after a DDL statement is skipped [#4177](https://github.com/pingcap/tiflow/issues/4177) - (dup) - Fix the issue that `mq sink write row` does not have monitoring data [#3431](https://github.com/pingcap/tiflow/issues/3431) - (dup) - Fix the potential panic issue that occurs when a replication task is removed [#3128](https://github.com/pingcap/tiflow/issues/3128) - (dup) - Fix the potential issue that the deadlock causes a replication task to get stuck [#4055](https://github.com/pingcap/tiflow/issues/4055) - (dup) - Fix the TiCDC panic issue that occurs when manually cleaning the task status in etcd [#2980](https://github.com/pingcap/tiflow/issues/2980) - (dup) - Fix the issue that special comments in DDL statements cause the replication task to stop [#3755](https://github.com/pingcap/tiflow/issues/3755) - (dup) - Fix the issue of replication stop caused by the incorrect configuration of `config.Metadata.Timeout` [#3352](https://github.com/pingcap/tiflow/issues/3352) - (dup) - Fix the issue that the service cannot be started because of a timezone issue in the RHEL release [#3584](https://github.com/pingcap/tiflow/issues/3584) - (dup) - Fix the issue that `stopped` changefeeds resume automatically after a cluster upgrade [#3473](https://github.com/pingcap/tiflow/issues/3473) - (dup) - Fix the issue that default values cannot be replicated [#3793](https://github.com/pingcap/tiflow/issues/3793) - (dup) - Fix the issue of overly frequent warnings caused by MySQL sink deadlock [#2706](https://github.com/pingcap/tiflow/issues/2706) - (dup) - Fix the bug that the `enable-old-value` configuration item is not automatically set to `true` on Canal and Maxwell protocols [#3676](https://github.com/pingcap/tiflow/issues/3676) - (dup) - Fix the issue that Avro sink does not support parsing JSON type columns [#3624](https://github.com/pingcap/tiflow/issues/3624) - (dup) - Fix the negative value error in the changefeed checkpoint lag [#3010](https://github.com/pingcap/tiflow/issues/3010) - - - TiDB Lightning + - 修复不支持同步默认值的问题 [#3793](https://github.com/pingcap/tiflow/issues/3793) + - 修复 MySQL sink 在禁用 `batch-replace-enable` 参数时生成重复 `replace` SQL 语句的错误 [#4501](https://github.com/pingcap/tiflow/issues/4501) + - 修复部分 syncer metrics 只有在查询状态时才得以更新的问题 [#4281](https://github.com/pingcap/tiflow/issues/4281) + - 修复当 Kafka 为下游时 `txn_batch_size` 监控指标数据不准确的问题 [#3431](https://github.com/pingcap/tiflow/issues/3431) + - 修复当 `min.insync.replicas` 小于 `replication-factor` 时不能同步的问题 [#3994](https://github.com/pingcap/tiflow/issues/3994) + - 修复 `CREATE VIEW` 语句中断复制任务的问题 [#4173](https://github.com/pingcap/tiflow/issues/4173) + - 修复 skip DDL 后需要重置 Schema 的问题 [#4177](https://github.com/pingcap/tiflow/issues/4177) + - 修复当 Kafka 为下游时 `txn_batch_size` 监控指标数据不准确的问题 [#3431](https://github.com/pingcap/tiflow/issues/3431) + - 修复在移除同步任务后潜在的 panic 问题 [#3128](https://github.com/pingcap/tiflow/issues/3128) + - 修复潜在的同步流控死锁问题 [#4055](https://github.com/pingcap/tiflow/issues/4055) + - 修复人为删除 etcd 任务的状态时导致 TiCDC panic 的问题 [#2980](https://github.com/pingcap/tiflow/issues/2980) + - 修复 DDL 特殊注释导致的同步停止的问题 [#3755](https://github.com/pingcap/tiflow/issues/3755) + - Kafka sink 模块添加默认的元数据获取超时时间配置 (`config.Metadata.Timeout`) [#3352](https://github.com/pingcap/tiflow/issues/3352) + - 修复 `cdc server` 命令在 Red Hat Enterprise Linux 系统的部分版本(如 6.8、6.9 等)上运行时出现时区错误的问题 [#3584](https://github.com/pingcap/tiflow/issues/3584) + - 修复集群升级后 `stopped` 状态的 changefeed 自动恢复的问题 [#3473](https://github.com/pingcap/tiflow/issues/3473) + - 修复不支持同步默认值的问题 [#3793](https://github.com/pingcap/tiflow/issues/3793) + - 修复 MySQL sink 模块出现死锁时告警过于频繁的问题 [#2706](https://github.com/pingcap/tiflow/issues/2706) + - 修复 Canal 和 Maxwell 协议下 TiCDC 没有自动开启 `enable-old-value` 选项的问题 [#3676](https://github.com/pingcap/tiflow/issues/3676) + - 修复 Avro sink 模块不支持解析 JSON 类型列的问题 [#3624](https://github.com/pingcap/tiflow/issues/3624) + - 修复监控 checkpoint lag 出现负值的问题 [#3010](https://github.com/pingcap/tiflow/issues/3010) + + + TiDB Lightning - 修复在某些导入操作没有包含源文件时,TiDB Lightning 不会删除 metadata schema 的问题 [#28144](https://github.com/pingcap/tidb/issues/28144) - 修复存储 URL 前缀为 "gs://xxx" 而不是 "gcs://xxx" 时,TiDB Lightning 报错的问题 [#30254](https://github.com/pingcap/tidb/pull/30254) - - 修复设置 --log-file="-" 时,没有 log 输出到 stdout 的问题 [#29876](https://github.com/pingcap/tidb/issues/29876) - - (dup) - Fix the issue that TiDB Lightning does not report errors when the S3 storage path does not exist #28031 [#30709](https://github.com/pingcap/tiflow/issues/30709) + - 修复设置 --log-file="-" 时,没有 log 输出到 stdout 的问题 [#29876](https://github.com/pingcap/tidb/issues/29876) + - Fix the issue that TiDB Lightning does not report errors when the S3 storage path does not exist #28031 [#30709](https://github.com/pingcap/tiflow/issues/30709) From e6e19ebf267902975e839806fe066a8d5efa427e Mon Sep 17 00:00:00 2001 From: Enwei Date: Wed, 2 Mar 2022 10:48:09 +0800 Subject: [PATCH 20/32] Apply suggestions from code review --- releases/release-5.3.1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index f32804868d38..3fe632b857fe 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -24,7 +24,7 @@ TiDB 版本:5.3.1 + TiKV - - 通过减少需要进行 Resolve Locks(清理锁)步骤的 Region 数量来减少 TiCDC 恢复时间 [#11993](https://github.com/tikv/tikv/issues/11993) + - 通过减少需要进行清理锁 (Resolve Locks) 步骤的 Region 数量来减少 TiCDC 恢复时间 [#11993](https://github.com/tikv/tikv/issues/11993) - 通过增加对 Raft log 进行垃圾回收 (GC) 时的 write batch 大小来加快 GC 速度 [#11404](https://github.com/tikv/tikv/issues/11404) - 将 proc filesystem (procfs) 升级至 0.12.0 版本 [#11702](https://github.com/tikv/tikv/issues/11702) @@ -69,7 +69,7 @@ TiDB 版本:5.3.1 + TiKV - - 修复 peer 状态为 Applying 时快照文件被删除会造成 Panic 的问题 [#11746](https://github.com/tikv/tikv/issues/11746) + - 修复 Peer 状态为 Applying 时快照文件被删除会造成 Panic 的问题 [#11746](https://github.com/tikv/tikv/issues/11746) - 修复开启流量控制且显式设置 `level0_slowdown_trigger` 时出现 QPS 下降的问题 [#11424](https://github.com/tikv/tikv/issues/11424) - 修复 cgroup controller 没有被挂载会造成 Panic 的问题 [#11569](https://github.com/tikv/tikv/issues/11569) - 修复 TiKV 停止后 Resolved TS 延迟会增加的问题 [#11352](https://github.com/tikv/tikv/pull/11352) From 2b0b2edab31594a48103f58815407c17369a1f5a Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Wed, 2 Mar 2022 10:57:55 +0800 Subject: [PATCH 21/32] Fix query-status --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 3fe632b857fe..05d2fa5d063b 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -129,7 +129,7 @@ TiDB 版本:5.3.1 - 修复了 DM 采用细粒度失败重试策略导致数据丢失问题 [#3487](https://github.com/pingcap/tiflow/issues/3487) - 修复在容器环境中 OOM 的问题 [#1798](https://github.com/pingcap/tiflow/issues/1798) - 修复了停止加载中的任务会导致它被意外调度的问题 [#3771](https://github.com/pingcap/tiflow/issues/3771) - - 纠正了在 Loader 上 query-status 查询到错误的进度的问题 [#3252](https://github.com/pingcap/tiflow/issues/3252) + - 纠正了在 Loader 上使用 `query-status` 命令查询到错误的进度的问题 [#3252](https://github.com/pingcap/tiflow/issues/3252) - 修复了 HTTP API 在集群中存在不同版本 TiCDC 节点时无法正常工作的问题 [#3483](https://github.com/pingcap/tiflow/issues/3483) - 修复了当 TiCDC Redo Log 配置在 S3 存储上时 TiCDC 异常退出问题 [#3523](https://github.com/pingcap/tiflow/issues/3523) - 修复不支持同步默认值的问题 [#3793](https://github.com/pingcap/tiflow/issues/3793) From bb3ebf389f8ffdd32db9c60299010b58026f22ed Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Wed, 2 Mar 2022 11:51:48 +0800 Subject: [PATCH 22/32] Update release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 05d2fa5d063b..5c049225a96e 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -158,4 +158,4 @@ TiDB 版本:5.3.1 - 修复在某些导入操作没有包含源文件时,TiDB Lightning 不会删除 metadata schema 的问题 [#28144](https://github.com/pingcap/tidb/issues/28144) - 修复存储 URL 前缀为 "gs://xxx" 而不是 "gcs://xxx" 时,TiDB Lightning 报错的问题 [#30254](https://github.com/pingcap/tidb/pull/30254) - 修复设置 --log-file="-" 时,没有 log 输出到 stdout 的问题 [#29876](https://github.com/pingcap/tidb/issues/29876) - - Fix the issue that TiDB Lightning does not report errors when the S3 storage path does not exist #28031 [#30709](https://github.com/pingcap/tiflow/issues/30709) + - Fix the issue that TiDB Lightning does not report errors when the S3 storage path does not exist [#30709](https://github.com/pingcap/tiflow/issues/30709) From 6c0d9252c6eaece8659c5691e5c1a6accebc7730 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Wed, 2 Mar 2022 14:08:22 +0800 Subject: [PATCH 23/32] Update release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 5c049225a96e..e0f99c646358 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -158,4 +158,4 @@ TiDB 版本:5.3.1 - 修复在某些导入操作没有包含源文件时,TiDB Lightning 不会删除 metadata schema 的问题 [#28144](https://github.com/pingcap/tidb/issues/28144) - 修复存储 URL 前缀为 "gs://xxx" 而不是 "gcs://xxx" 时,TiDB Lightning 报错的问题 [#30254](https://github.com/pingcap/tidb/pull/30254) - 修复设置 --log-file="-" 时,没有 log 输出到 stdout 的问题 [#29876](https://github.com/pingcap/tidb/issues/29876) - - Fix the issue that TiDB Lightning does not report errors when the S3 storage path does not exist [#30709](https://github.com/pingcap/tiflow/issues/30709) + - 修复 S3 存储路径不存在时 TiDB Lightning 不报错的问题 [#30709](https://github.com/pingcap/tiflow/issues/30709) From e963d93d12abca1eb2540d73383e8a223d295fe3 Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Wed, 2 Mar 2022 15:13:36 +0800 Subject: [PATCH 24/32] Update releases/release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index e0f99c646358..cdb84ead20d0 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -37,7 +37,7 @@ TiDB 版本:5.3.1 + TiCDC - 暴露 Kafka producer 配置参数,使之在 TiCDC 中可配置 [#4385](https://github.com/pingcap/tiflow/issues/4385) - - 在 S3 启动前增加一个预清理进程 [#3878](https://github.com/pingcap/tiflow/issues/3878) + - 当指定 S3 为存储后端时,在 TiCDC 启动前增加预清理逻辑 [#3878](https://github.com/pingcap/tiflow/issues/3878) - TiCDC 客户端能在未指定证书名的情况下工作 [#3627](https://github.com/pingcap/tiflow/issues/3627) - 修复因 checkpoint 不准确导致的潜在的数据丢失问题 [#3545](https://github.com/pingcap/tiflow/issues/3545) - 为 changefeed 重启操作添加指数退避机制 [#3329](https://github.com/pingcap/tiflow/issues/3329) From ddd45caee169a547e90cf6daaa3c935a19dda17e Mon Sep 17 00:00:00 2001 From: Enwei Date: Wed, 2 Mar 2022 15:28:31 +0800 Subject: [PATCH 25/32] Apply suggestions from code review --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index cdb84ead20d0..1465feee08a8 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -72,7 +72,7 @@ TiDB 版本:5.3.1 - 修复 Peer 状态为 Applying 时快照文件被删除会造成 Panic 的问题 [#11746](https://github.com/tikv/tikv/issues/11746) - 修复开启流量控制且显式设置 `level0_slowdown_trigger` 时出现 QPS 下降的问题 [#11424](https://github.com/tikv/tikv/issues/11424) - 修复 cgroup controller 没有被挂载会造成 Panic 的问题 [#11569](https://github.com/tikv/tikv/issues/11569) - - 修复 TiKV 停止后 Resolved TS 延迟会增加的问题 [#11352](https://github.com/tikv/tikv/pull/11352) + - 修复 TiKV 停止后 Resolved TS 延迟会增加的问题 [#11351](https://github.com/tikv/tikv/issues/11351) - 修复 GC worker 繁忙后无法执行范围删除(即执行 `unsafe_destroy_range` 参数)的问题 [#11903](https://github.com/tikv/tikv/issues/11903) - 修复删除 Peer 可能造成高延迟的问题 [#10210](https://github.com/tikv/tikv/issues/10210) - 修复 Region 没有数据时 `any_value` 函数结果错误的问题 [#11735](https://github.com/tikv/tikv/issues/11735) From e161582241e7f99d937e54c1928ea4c85a9dc488 Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 2 Mar 2022 15:33:25 +0800 Subject: [PATCH 26/32] Update releases/release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 1465feee08a8..1edab88bf0c4 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -20,7 +20,7 @@ TiDB 版本:5.3.1 + TiDB - - 优化用户登录模式匹配的逻辑,增强与 MySQL 的兼容性 [#30450](https://github.com/pingcap/tidb/pull/30450) + - 优化用户登录模式匹配的逻辑,增强与 MySQL 的兼容性 [#30450](https://github.com/pingcap/tidb/issues/32648) + TiKV From ba4683f093f4286971929dc80bbb2aa4d73d403a Mon Sep 17 00:00:00 2001 From: TomShawn <41534398+TomShawn@users.noreply.github.com> Date: Wed, 2 Mar 2022 15:50:10 +0800 Subject: [PATCH 27/32] Update releases/release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 1edab88bf0c4..1381b3185743 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -55,7 +55,7 @@ TiDB 版本:5.3.1 + TiDB - - 修复 date_format 对 `'\n'` 的处理与 MySQL 不兼容的问题 [#32503](https://github.com/pingcap/tidb/pull/32503) + - 修复 date_format 对 `'\n'` 的处理与 MySQL 不兼容的问题 [#32232](https://github.com/pingcap/tidb/issues/32232) - 修复 `alter column set default` 错误地修改表定义的问题 [#31074](https://github.com/pingcap/tidb/issues/31074) - 修复开启 `tidb_restricted_read_only` 后 `tidb_super_read_only` 没有自动开启的问题 [#31745](https://github.com/pingcap/tidb/issues/31745) - 修复带有 collation 的 `greatest` 或 `least` 函数结果出错的问题 [#31789](https://github.com/pingcap/tidb/issues/31789) From 3148be720bee1116b4af867966a36327067e333e Mon Sep 17 00:00:00 2001 From: shichun-0415 <89768198+shichun-0415@users.noreply.github.com> Date: Wed, 2 Mar 2022 15:51:49 +0800 Subject: [PATCH 28/32] replace two PRs with issues --- releases/release-5.3.1.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 1381b3185743..d989aecfb0f4 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -125,7 +125,7 @@ TiDB 版本:5.3.1 - 修复了 DM worker 在重启后无法完成初始化的问题 [#3344](https://github.com/pingcap/tiflow/issues/3344) - 修复了 DM 任务在分区表相关 DDL 执行时间过长时失败的问题 [#3854](https://github.com/pingcap/tiflow/issues/3854) - 修复了 DM 在上游是 MySQL 8.0 时报错 "invalid sequence" 的问题 [#3847](https://github.com/pingcap/tiflow/issues/3847) - - 修复了移除一个暂停的同步时,CDC Redo Log 无法被正确清理的问题 [#3919](https://github.com/pingcap/tiflow/pull/3919) + - 修复了移除一个暂停的同步时,CDC Redo Log 无法被正确清理的问题 [#4740](https://github.com/pingcap/tiflow/issues/4740) - 修复了 DM 采用细粒度失败重试策略导致数据丢失问题 [#3487](https://github.com/pingcap/tiflow/issues/3487) - 修复在容器环境中 OOM 的问题 [#1798](https://github.com/pingcap/tiflow/issues/1798) - 修复了停止加载中的任务会导致它被意外调度的问题 [#3771](https://github.com/pingcap/tiflow/issues/3771) @@ -156,6 +156,6 @@ TiDB 版本:5.3.1 + TiDB Lightning - 修复在某些导入操作没有包含源文件时,TiDB Lightning 不会删除 metadata schema 的问题 [#28144](https://github.com/pingcap/tidb/issues/28144) - - 修复存储 URL 前缀为 "gs://xxx" 而不是 "gcs://xxx" 时,TiDB Lightning 报错的问题 [#30254](https://github.com/pingcap/tidb/pull/30254) + - 修复存储 URL 前缀为 "gs://xxx" 而不是 "gcs://xxx" 时,TiDB Lightning 报错的问题 [#32742](https://github.com/pingcap/tidb/issues/32742) - 修复设置 --log-file="-" 时,没有 log 输出到 stdout 的问题 [#29876](https://github.com/pingcap/tidb/issues/29876) - 修复 S3 存储路径不存在时 TiDB Lightning 不报错的问题 [#30709](https://github.com/pingcap/tiflow/issues/30709) From bc2237d72d186f2b9c64fff4c39df861e0342129 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Thu, 3 Mar 2022 09:43:03 +0800 Subject: [PATCH 29/32] Update release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index d989aecfb0f4..22458219ec23 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -49,7 +49,7 @@ TiDB 版本:5.3.1 - TiDB Lightning - - 优化了本地磁盘空间检查失败时前置检查的提示信息 [#30395](https://github.com/pingcap/tiflow/issues/30395) + - 优化了本地磁盘空间检查失败时前置检查的提示信息 [#30395](https://github.com/pingcap/tidb/issues/30395) ## Bug 修复 From fa943f7847aa196a2fd658403820d632d1dcd4bc Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Thu, 3 Mar 2022 09:45:23 +0800 Subject: [PATCH 30/32] Update release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 22458219ec23..94d2f8b2d98d 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -112,7 +112,7 @@ TiDB 版本:5.3.1 + Backup & Restore (BR) - - 修复当恢复完成后,Region 有可能分布不均的问题 [#31034](https://github.com/pingcap/tiflow/issues/31034) + - 修复当恢复完成后,Region 有可能分布不均的问题 [#31034](https://github.com/pingcap/tidb/issues/31034) + TiCDC From 65b2f46b4fa13620c909cd997f1f34a67cb97f43 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Thu, 3 Mar 2022 09:50:11 +0800 Subject: [PATCH 31/32] Update release-5.3.1.md --- releases/release-5.3.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 94d2f8b2d98d..6cf5407d6222 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -158,4 +158,4 @@ TiDB 版本:5.3.1 - 修复在某些导入操作没有包含源文件时,TiDB Lightning 不会删除 metadata schema 的问题 [#28144](https://github.com/pingcap/tidb/issues/28144) - 修复存储 URL 前缀为 "gs://xxx" 而不是 "gcs://xxx" 时,TiDB Lightning 报错的问题 [#32742](https://github.com/pingcap/tidb/issues/32742) - 修复设置 --log-file="-" 时,没有 log 输出到 stdout 的问题 [#29876](https://github.com/pingcap/tidb/issues/29876) - - 修复 S3 存储路径不存在时 TiDB Lightning 不报错的问题 [#30709](https://github.com/pingcap/tiflow/issues/30709) + - 修复 S3 存储路径不存在时 TiDB Lightning 不报错的问题 [#30709](https://github.com/pingcap/tidb/issues/30709) From b9b757bc086b4637b85fd90c1c87aaf93468f9e7 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Thu, 3 Mar 2022 10:42:45 +0800 Subject: [PATCH 32/32] add release date --- releases/release-5.3.1.md | 2 +- releases/release-timeline.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/releases/release-5.3.1.md b/releases/release-5.3.1.md index 6cf5407d6222..99cef89a7287 100644 --- a/releases/release-5.3.1.md +++ b/releases/release-5.3.1.md @@ -4,7 +4,7 @@ title: TiDB 5.3.1 Release Notes # TiDB 5.3.1 Release Notes -发版日期:2022 年 x 月 x 日 +发版日期:2022 年 3 月 3 日 TiDB 版本:5.3.1 diff --git a/releases/release-timeline.md b/releases/release-timeline.md index a50ef9746df4..53052019ba5f 100644 --- a/releases/release-timeline.md +++ b/releases/release-timeline.md @@ -9,7 +9,7 @@ summary: 了解 TiDB 的版本发布时间线。 | 版本 | 发布日期 | | :--- | :--- | -| [5.3.1](/releases/release-5.3.1.md) | 2022-xx-xx | +| [5.3.1](/releases/release-5.3.1.md) | 2022-03-03 | | [5.1.4](/releases/release-5.1.4.md) | 2022-02-22 | | [5.0.6](/releases/release-5.0.6.md) | 2021-12-31 | | [4.0.16](/releases/release-4.0.16.md) | 2021-12-17 |