Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 6.5.10 releaseNote 不合理的内容
Documentation Error : Please provide feedback according to the template below
Issue Category:
Unreasonable documentation content
Page where the issue occurs:
TiDB 6.5.10 Release Notes | PingCAP Documentation Center
Error encountered:
The document clearly states that the parameter tidb_enable_async_merge_global_stats was introduced in version 7.5.10, so the content in the release notes for version 6.5.10 seems unreasonable.
This parameter affects major versions 7.5 and 8.1, and indeed should not affect 6.5.
The default value of tidb_enable_clustered_index
is INT_ONLY
in version 5.0.0.
From the release dates, version 7.5.0 is earlier than 6.5.10. It seems that the documentation should mention that the feature was introduced starting from version v6.5.x…
@MrSylar The documentation is very detailed, thumbs up
This parameter was introduced in 7.5 and is not available in 6.5.10.
MySQL [(none)]> select tidb_version()\G
*************************** 1. row ***************************
tidb_version(): Release Version: v6.5.10
Edition: Community
Git Commit Hash: ff2feb6653846b0decd8b1d7cc0a665e128ccf26
Git Branch: heads/refs/tags/v6.5.10
UTC Build Time: 2024-06-18 15:07:37
GoVersion: go1.19.13
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: tikv
1 row in set (0.001 sec)
MySQL [(none)]> select @@tidb_enable_async_merge_global_stats;
ERROR 1193 (HY000): Unknown system variable 'tidb_enable_async_merge_global_stats'
MySQL [(none)]>
MySQL [(none)]> select tidb_version()\G
*************************** 1. row ***************************
tidb_version(): Release Version: v7.5.0
Edition: Community
Git Commit Hash: 069631e2ecfedc000ffb92c67207bea81380f020
Git Branch: heads/refs/tags/v7.5.0
UTC Build Time: 2023-11-24 08:50:14
GoVersion: go1.21.3
Race Enabled: false
Check Table Before Drop: false
Store: tikv
1 row in set (0.029 sec)
MySQL [(none)]> select @@tidb_enable_async_merge_global_stats;
+----------------------------------------+
| @@tidb_enable_async_merge_global_stats |
+----------------------------------------+
| 1 |
+----------------------------------------+
1 row in set (0.003 sec)
So the RN for 6.5.10 has some issues.
opened 07:53AM - 12 Jul 24 UTC
File: [/release-6.5/releases/release-6.5.10.md](https://docs.pingcap.com/zh/tidb… /v6.5/release-6.5.10)
6.5 RN 中有这么一句,描述有些问题,请确认。参数 tidb_enable_async_merge_global_stats 是 7.5 引入的,6.5.10 中没有,相关讨论参加帖子 https://asktug.com/t/topic/1029190
```
修复关闭 tidb_enable_async_merge_global_stats 时,GlobalStats 中的 Distinct_count 信息可能错误的问题 [#53752](https://github.com/pingcap/tidb/issues/53752) @[hawkingrei](https://github.com/hawkingrei)
```
@hawkingrei @qiancai PTAL
Disabling tidb_enable_async_merge_global_stats is the default merge global status method in versions 7.1 and 6.5.
@hawkingrei
However, version 6.5 does not have this parameter. Writing it like this in the release notes can easily confuse users.
The documentation is very detailed, thumbs up!
The related modification PR can be seen.
@MrSylar The documentation for version 6.5 has been updated.