From 53dd5a1751ab6ede5e0014a6ede521f603836582 Mon Sep 17 00:00:00 2001 From: toutdesuite Date: Wed, 4 Mar 2020 17:45:23 +0800 Subject: [PATCH 1/5] add 3.0.11 release note --- TOC.md | 1 + releases/3.0.11.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++ releases/rn.md | 1 + 3 files changed, 56 insertions(+) create mode 100644 releases/3.0.11.md diff --git a/TOC.md b/TOC.md index 8f4415fc82bd4..116214cafe7e3 100644 --- a/TOC.md +++ b/TOC.md @@ -441,6 +441,7 @@ - [3.1.0-beta.1](/releases/3.1.0-beta.1.md) - [3.1.0-beta](/releases/3.1.0-beta.md) + v3.0 + - [3.0.11](/releases/3.0.11.md) - [3.0.10](/releases/3.0.10.md) - [3.0.9](/releases/3.0.9.md) - [3.0.8](/releases/3.0.8.md) diff --git a/releases/3.0.11.md b/releases/3.0.11.md new file mode 100644 index 0000000000000..c26311e1c43a4 --- /dev/null +++ b/releases/3.0.11.md @@ -0,0 +1,54 @@ +--- +title: TiDB 3.0.11 Release Notes +category: Releases +--- + +# TiDB 3.0.11 Release Notes + +Release date: March 4, 2020 + +TiDB version: 3.0.11 + +TiDB Ansible version: 3.0.11 + +## TiDB 3.0.11 Compatibility Changes + +* TiDB + + Add the `max-index-length` configuration item to control the maximum index length, which is compatible with the behavior of TiDB versions before 3.0.7 or of MySQL [#15057](https://github.com/pingcap/tidb/pull/15057) + +## New Features + +* TiDB + + Support showing the meta information of partitioned tables in the `information_schema.PARTITIONS` table [#14849](https://github.com/pingcap/tidb/pull/14849) + +* TiKV + + Optimize the log output by removing unnecessary logs [#6657](https://github.com/tikv/tikv/pull/6657) + +* TiDB Binlog + + Support the bidirectional data replication between TiDB clusters [#884](https://github.com/pingcap/tidb-binlog/pull/884) [#909](https://github.com/pingcap/tidb-binlog/pull/909) + +* TiDB Lightning + + Support the TLS configuration [#44](https://github.com/tikv/importer/pull/44) [#270](https://github.com/pingcap/tidb-lightning/pull/270) + +* TiDB Ansible + + Modify the logic of `create_users.yml` so that users of the central control machine can be inconsistent with `ansible_user` [#1184](https://github.com/pingcap/tidb-ansible/pull/1184) + +## Bugfixes + +* TiDB + + Fix the issue of Goroutine leaks when retrying an optimistic transaction because queries using `Union` are not marked read-only [#15076](https://github.com/pingcap/tidb/pull/15076) + + Fix the issue that `SHOW TABLE STATUS` fails to correctly output the table status at the snapshot time because the value of the `tidb_snapshot` parameter is not correctly used when executing the `SET SESSION tidb_snapshot = 'xxx';` statement [#14391](https://github.com/pingcap/tidb/pull/14391) + + Fix the incorrect result caused by a SQL statement that contains `Sort Merge Join` and `ORDER BY DESC` at the same time [#14664](https://github.com/pingcap/tidb/pull/14664) + + Fix the panic of TiDB server when creating partition tables using the unsupported expression. The error information `This partition function is not allowed` is returned after fixing this panic [#14769](https://github.com/pingcap/tidb/pull/14769) + + Fix the incorrect result occurred when executing the `select max() from subquery` statement with the subquery containing `Union` [#14944](https://github.com/pingcap/tidb/pull/14944) + + Fix the issue that an error message is returned when executing the `SHOW BINDINGS` statement after executing `DROP BINDING` that drops the execution binding [#14865](https://github.com/pingcap/tidb/pull/14865) + + Fix the issue that the connection is broken because the maximum length of an alias in a query is 256 characters in the MySQL protocol, but TiDB does not [cut the alias](https://dev.mysql.com/doc/refman/8.0/en/identifier-length.html) in the query results according to this protocol [#14940](https://github.com/pingcap/tidb/pull/14940) + + Fix the incorrect query result that might occur when using the string type in `DIV`. For instance, now you can correctly execute the `select 1 / '2007' div 1` statement [#14098](https://github.com/pingcap/tidb/pull/14098) + +* TiKV + + Fix the panic that might occur when the peer is removed under high loads [#6704](https://github.com/tikv/tikv/pull/6704) + + Fix the issue that Hibernate Regions are not waken up in some cases [#6732](https://github.com/tikv/tikv/pull/6732) [#6738](https://github.com/tikv/tikv/pull/6738) + +* TiDB Ansible + + Update outdated document links in `tidb-ansible` [#1169](https://github.com/pingcap/tidb-ansible/pull/1169) + + Fix the issue that undefined variables might occur in the `wait for region replication complete` task [#1173](https://github.com/pingcap/tidb-ansible/pull/1173) diff --git a/releases/rn.md b/releases/rn.md index 6bc0eb0603e7f..4ad66713167a6 100644 --- a/releases/rn.md +++ b/releases/rn.md @@ -17,6 +17,7 @@ category: release ## 3.0 +- [3.0.11](/releases/3.0.11.md) - [3.0.10](/releases/3.0.10.md) - [3.0.9](/releases/3.0.9.md) - [3.0.8](/releases/3.0.8.md) From b8eeb6958427e129dc49ebf594bd388660c59b88 Mon Sep 17 00:00:00 2001 From: toutdesuite Date: Wed, 4 Mar 2020 18:07:02 +0800 Subject: [PATCH 2/5] Update releases/3.0.11.md Co-Authored-By: TomShawn <41534398+TomShawn@users.noreply.github.com> --- releases/3.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/3.0.11.md b/releases/3.0.11.md index c26311e1c43a4..eca26e9a3dd0b 100644 --- a/releases/3.0.11.md +++ b/releases/3.0.11.md @@ -31,7 +31,7 @@ TiDB Ansible version: 3.0.11 + Support the TLS configuration [#44](https://github.com/tikv/importer/pull/44) [#270](https://github.com/pingcap/tidb-lightning/pull/270) * TiDB Ansible - + Modify the logic of `create_users.yml` so that users of the central control machine can be inconsistent with `ansible_user` [#1184](https://github.com/pingcap/tidb-ansible/pull/1184) + + Modify the logic of `create_users.yml` so that users of the central control machine do not have to be consistent with `ansible_user` [#1184](https://github.com/pingcap/tidb-ansible/pull/1184) ## Bugfixes From 5f2d3cad73f68c2e99661a94c3c39e9500d9ef50 Mon Sep 17 00:00:00 2001 From: toutdesuite Date: Wed, 4 Mar 2020 18:14:05 +0800 Subject: [PATCH 3/5] Update releases/3.0.11.md Co-Authored-By: TomShawn <41534398+TomShawn@users.noreply.github.com> --- releases/3.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/3.0.11.md b/releases/3.0.11.md index eca26e9a3dd0b..a30a0f2ab122b 100644 --- a/releases/3.0.11.md +++ b/releases/3.0.11.md @@ -39,7 +39,7 @@ TiDB Ansible version: 3.0.11 + Fix the issue of Goroutine leaks when retrying an optimistic transaction because queries using `Union` are not marked read-only [#15076](https://github.com/pingcap/tidb/pull/15076) + Fix the issue that `SHOW TABLE STATUS` fails to correctly output the table status at the snapshot time because the value of the `tidb_snapshot` parameter is not correctly used when executing the `SET SESSION tidb_snapshot = 'xxx';` statement [#14391](https://github.com/pingcap/tidb/pull/14391) + Fix the incorrect result caused by a SQL statement that contains `Sort Merge Join` and `ORDER BY DESC` at the same time [#14664](https://github.com/pingcap/tidb/pull/14664) - + Fix the panic of TiDB server when creating partition tables using the unsupported expression. The error information `This partition function is not allowed` is returned after fixing this panic [#14769](https://github.com/pingcap/tidb/pull/14769) + + Fix the panic of TiDB server when creating partition tables using the unsupported expression. The error information `This partition function is not allowed` is returned after fixing this panic. [#14769](https://github.com/pingcap/tidb/pull/14769) + Fix the incorrect result occurred when executing the `select max() from subquery` statement with the subquery containing `Union` [#14944](https://github.com/pingcap/tidb/pull/14944) + Fix the issue that an error message is returned when executing the `SHOW BINDINGS` statement after executing `DROP BINDING` that drops the execution binding [#14865](https://github.com/pingcap/tidb/pull/14865) + Fix the issue that the connection is broken because the maximum length of an alias in a query is 256 characters in the MySQL protocol, but TiDB does not [cut the alias](https://dev.mysql.com/doc/refman/8.0/en/identifier-length.html) in the query results according to this protocol [#14940](https://github.com/pingcap/tidb/pull/14940) From 64bd1ebc42245cdf5af78faad0abc653bca2b6a4 Mon Sep 17 00:00:00 2001 From: toutdesuite Date: Wed, 4 Mar 2020 18:17:42 +0800 Subject: [PATCH 4/5] Update releases/3.0.11.md Co-Authored-By: TomShawn <41534398+TomShawn@users.noreply.github.com> --- releases/3.0.11.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/3.0.11.md b/releases/3.0.11.md index a30a0f2ab122b..185b4d4d88732 100644 --- a/releases/3.0.11.md +++ b/releases/3.0.11.md @@ -40,7 +40,7 @@ TiDB Ansible version: 3.0.11 + Fix the issue that `SHOW TABLE STATUS` fails to correctly output the table status at the snapshot time because the value of the `tidb_snapshot` parameter is not correctly used when executing the `SET SESSION tidb_snapshot = 'xxx';` statement [#14391](https://github.com/pingcap/tidb/pull/14391) + Fix the incorrect result caused by a SQL statement that contains `Sort Merge Join` and `ORDER BY DESC` at the same time [#14664](https://github.com/pingcap/tidb/pull/14664) + Fix the panic of TiDB server when creating partition tables using the unsupported expression. The error information `This partition function is not allowed` is returned after fixing this panic. [#14769](https://github.com/pingcap/tidb/pull/14769) - + Fix the incorrect result occurred when executing the `select max() from subquery` statement with the subquery containing `Union` [#14944](https://github.com/pingcap/tidb/pull/14944) + + Fix the incorrect result occurred when executing the `select max() from subquery` statement with the subquery containing `Union` [#14944](https://github.com/pingcap/tidb/pull/14944) + Fix the issue that an error message is returned when executing the `SHOW BINDINGS` statement after executing `DROP BINDING` that drops the execution binding [#14865](https://github.com/pingcap/tidb/pull/14865) + Fix the issue that the connection is broken because the maximum length of an alias in a query is 256 characters in the MySQL protocol, but TiDB does not [cut the alias](https://dev.mysql.com/doc/refman/8.0/en/identifier-length.html) in the query results according to this protocol [#14940](https://github.com/pingcap/tidb/pull/14940) + Fix the incorrect query result that might occur when using the string type in `DIV`. For instance, now you can correctly execute the `select 1 / '2007' div 1` statement [#14098](https://github.com/pingcap/tidb/pull/14098) From 3d224250d1857c68667a1897d8a385e27e96d60d Mon Sep 17 00:00:00 2001 From: toutdesuite Date: Wed, 4 Mar 2020 18:40:08 +0800 Subject: [PATCH 5/5] move a sentence --- releases/3.0.11.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/releases/3.0.11.md b/releases/3.0.11.md index c26311e1c43a4..43986c6b99e3f 100644 --- a/releases/3.0.11.md +++ b/releases/3.0.11.md @@ -21,9 +21,6 @@ TiDB Ansible version: 3.0.11 * TiDB + Support showing the meta information of partitioned tables in the `information_schema.PARTITIONS` table [#14849](https://github.com/pingcap/tidb/pull/14849) -* TiKV - + Optimize the log output by removing unnecessary logs [#6657](https://github.com/tikv/tikv/pull/6657) - * TiDB Binlog + Support the bidirectional data replication between TiDB clusters [#884](https://github.com/pingcap/tidb-binlog/pull/884) [#909](https://github.com/pingcap/tidb-binlog/pull/909) @@ -46,6 +43,7 @@ TiDB Ansible version: 3.0.11 + Fix the incorrect query result that might occur when using the string type in `DIV`. For instance, now you can correctly execute the `select 1 / '2007' div 1` statement [#14098](https://github.com/pingcap/tidb/pull/14098) * TiKV + + Optimize the log output by removing unnecessary logs [#6657](https://github.com/tikv/tikv/pull/6657) + Fix the panic that might occur when the peer is removed under high loads [#6704](https://github.com/tikv/tikv/pull/6704) + Fix the issue that Hibernate Regions are not waken up in some cases [#6732](https://github.com/tikv/tikv/pull/6732) [#6738](https://github.com/tikv/tikv/pull/6738)