From 00c5ec47436a4a29c8b735febe91fb9ba4e181d3 Mon Sep 17 00:00:00 2001 From: lilin90 Date: Fri, 6 Jul 2018 19:31:54 +0800 Subject: [PATCH] releases, readme: add the release notes for 2.0.5 Via: https://github.com/pingcap/docs/pull/522 --- README.md | 1 + releases/205.md | 40 ++++++++++++++++++++++++++++++++++++++++ releases/ga.md | 2 +- releases/prega.md | 2 +- releases/rc4.md | 2 +- releases/rn.md | 1 + 6 files changed, 45 insertions(+), 3 deletions(-) create mode 100644 releases/205.md diff --git a/README.md b/README.md index 7154cea996a9..24aad83f4d8c 100755 --- a/README.md +++ b/README.md @@ -118,6 +118,7 @@ - [常见问题与解答(FAQ)](FAQ.md) - [最佳实践](https://pingcap.com/blog-cn/tidb-best-practice/) + [版本发布历史](releases/rn.md) + - [2.0.5](releases/205.md) - [2.1 Beta](releases/21beta.md) - [2.0.4](releases/204.md) - [2.0.3](releases/203.md) diff --git a/releases/205.md b/releases/205.md new file mode 100644 index 000000000000..ab57e8e02212 --- /dev/null +++ b/releases/205.md @@ -0,0 +1,40 @@ +--- +title: TiDB 2.0.5 release notes +category: Releases +--- + +# TiDB 2.0.5 Release Notes + +2018 年 7 月 6 日,TiDB 发布 2.0.5 版。该版本在 2.0.4 版的基础上,对系统兼容性、稳定性做出了改进。 + +## TiDB + +- New Features + - 增加一个系统变量 `tidb_disable_txn_auto_retry`,用于关闭事务自动重试 [#6877](https://github.com/pingcap/tidb/pull/6877) +- Improvements + - 调整计算 `Selection` 代价的方式,结果更准确 [#6989](https://github.com/pingcap/tidb/pull/6989) + - 查询条件能够完全匹配唯一索引或者主键时,直接选择作为查询路径 [#6966](https://github.com/pingcap/tidb/pull/6966) + - 启动服务失败时,做必要的清理工作 [#6964](https://github.com/pingcap/tidb/pull/6964) + - 在 `Load Data` 语句中,将 `\N` 处理为 NULL [#6962](https://github.com/pingcap/tidb/pull/6962) + - 优化 CBO 代码结构 [#6953](https://github.com/pingcap/tidb/pull/6953) + - 启动服务时,尽早上报监控数据 [#6931](https://github.com/pingcap/tidb/pull/6931) + - 对慢查询日志格式进行优化:去除 SQL 语句中的换行符,增加用户信息 [#6920](https://github.com/pingcap/tidb/pull/6920) + - 支持注释中存在多个星号的情况 [#6858](https://github.com/pingcap/tidb/pull/6858) +- Bug Fixes + - 修复 `KILL QUERY` 语句权限检查问题 [#7003](https://github.com/pingcap/tidb/pull/7003) + - 修复用户数量超过 1024 时可能造成无法登陆的问题 [#6986](https://github.com/pingcap/tidb/pull/6986) + - 修复一个写入无符号类型 `float`/`double` 数据的问题 [#6940](https://github.com/pingcap/tidb/pull/6940) + - 修复 `COM_FIELD_LIST` 命令的兼容性,解决部分 MariaDB 客户端遇到 Panic 的问题 [#6929](https://github.com/pingcap/tidb/pull/6929) + - 修复 `CREATE TABLE IF NOT EXISTS LIKE` 行为 [#6928](https://github.com/pingcap/tidb/pull/6928) + - 修复一个 TopN 下推过程中的问题 [#6923](https://github.com/pingcap/tidb/pull/6923) + - 修复 `Add Index` 过程中遇到错误时当前处理的行 ID 记录问题 [#6903](https://github.com/pingcap/tidb/pull/6903) + +## PD + +- 修复某些场景下副本迁移导致 TiKV 磁盘空间耗尽的问题 +- 修复 `AdjacentRegionScheduler` 导致的崩溃问题 + +## TiKV + +- 修复 decimal 运算中潜在的溢出问题 +- 修复 merge 过程中可能发生的脏读问题 \ No newline at end of file diff --git a/releases/ga.md b/releases/ga.md index ba4fcd40f538..a8a66ea4463a 100644 --- a/releases/ga.md +++ b/releases/ga.md @@ -5,7 +5,7 @@ category: Releases # TiDB 1.0 Release Notes -10 月 16 日,TiDB 发布 GA 版(TiDB 1.0)。该版本对 MySQL 兼容性、SQL 优化器、系统稳定性、性能做了大量的工作。 +2017 年 10 月 16 日,TiDB 发布 GA 版(TiDB 1.0)。该版本对 MySQL 兼容性、SQL 优化器、系统稳定性、性能做了大量的工作。 ## TiDB: diff --git a/releases/prega.md b/releases/prega.md index ba55743a3d31..76eb4fc15232 100644 --- a/releases/prega.md +++ b/releases/prega.md @@ -5,7 +5,7 @@ category: Releases # TiDB Pre-GA Release Notes -8 月 30 日,TiDB 发布 Pre-GA 版。该版本对 MySQL 兼容性、SQL 优化器、系统稳定性、性能做了大量的工作。 +2017 年 8 月 30 日,TiDB 发布 Pre-GA 版。该版本对 MySQL 兼容性、SQL 优化器、系统稳定性、性能做了大量的工作。 ## TiDB: diff --git a/releases/rc4.md b/releases/rc4.md index eaf622df3436..f2b42b956fa7 100644 --- a/releases/rc4.md +++ b/releases/rc4.md @@ -5,7 +5,7 @@ category: Releases # TiDB RC4 Release Notes -8 月 4 日,TiDB 正式发布 RC4 版。该版本对 MySQL 兼容性、SQL 优化器、系统稳定性、性能做了大量的工作。性能方面重点优化了写入速度,计算任务调度支持优先级,避免分析型大事务影响在线事务。SQL 优化器全新改版,查询代价估算更加准确,且能够自动选择 Join 物理算子。功能方面进一步 MySQL 兼容性。 +2017 年 8 月 4 日,TiDB 正式发布 RC4 版。该版本对 MySQL 兼容性、SQL 优化器、系统稳定性、性能做了大量的工作。性能方面重点优化了写入速度,计算任务调度支持优先级,避免分析型大事务影响在线事务。SQL 优化器全新改版,查询代价估算更加准确,且能够自动选择 Join 物理算子。功能方面进一步 MySQL 兼容性。 同时为了更好的支持 OLAP 业务,开源了 TiSpark 项目,可以通过 Spark 读取和分析 TiKV 中的数据。 ## TiDB: diff --git a/releases/rn.md b/releases/rn.md index 0563abb4f4df..4085432de66d 100644 --- a/releases/rn.md +++ b/releases/rn.md @@ -7,6 +7,7 @@ category: release TiDB 历史版本发布声明如下: + - [2.0.5](205.md) - [2.1 Beta](21beta.md) - [2.0.4](204.md) - [2.0.3](203.md)