Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

releases: add TiDB 7.1.0 release notes (stable version) #13484

Merged
merged 78 commits into from
May 31, 2023
Merged
Changes from 7 commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
cf13336
releases: add TiDB 7.1.0 release notes (stable version)
Oreoxmt May 9, 2023
aa7ba38
add partitioned raft kv, Distributed DDL, E2E checksum, and smooth cl…
Oreoxmt May 9, 2023
21da5ef
add tw id
Oreoxmt May 9, 2023
52ac28c
Apply suggestions from code review
ran-huang May 9, 2023
05eb701
Apply suggestions from code review
Oreoxmt May 10, 2023
ce60be0
Apply suggestions from code review
ran-huang May 10, 2023
3555928
Apply suggestions from code review
ran-huang May 10, 2023
76b4d3e
Update releases/release-7.1.0.md
hfxsd May 10, 2023
ac1318f
Update release-7.1.0.md
hfxsd May 10, 2023
41e9bb3
Update releases/release-7.1.0.md
hfxsd May 10, 2023
4b876e0
Update release-7.1.0.md
hfxsd May 10, 2023
34af64d
Merge branch 'v7.1.0-release-notes' of https://github.com/Oreoxmt/doc…
hfxsd May 10, 2023
af143c3
Update release-7.1.0.md
hfxsd May 10, 2023
8afa429
Update release-7.1.0.md
hfxsd May 10, 2023
a165375
Update release-7.1.0.md
hfxsd May 10, 2023
62bf1f1
Update releases/release-7.1.0.md
hfxsd May 10, 2023
67c7442
update non-prepared-plan-cache
Oreoxmt May 11, 2023
5d3ccf1
Apply suggestions from code review
hfxsd May 11, 2023
16b9ff3
Update releases/release-7.1.0.md
hfxsd May 11, 2023
9e283c6
remove upcoming
Oreoxmt May 11, 2023
7c1e1d1
Added to highlights table
samhld May 12, 2023
cfba80f
Update releases/release-7.1.0.md
samhld May 12, 2023
b41b2a7
Update releases/release-7.1.0.md
hfxsd May 12, 2023
a74e97a
Update releases/release-7.1.0.md
hfxsd May 12, 2023
6cb06ce
add LDAP note
ran-huang May 15, 2023
c89dafe
Update releases/release-7.1.0.md
ran-huang May 16, 2023
071b081
update compatibility changes, add improvements and bug fixes
Oreoxmt May 16, 2023
f695ddd
Apply suggestions from code review
hfxsd May 16, 2023
e56fcb2
Update releases/release-7.1.0.md
hfxsd May 16, 2023
2d60960
Apply suggestions from code review
hfxsd May 16, 2023
2b46cd4
add tidb_enable_row_level_checksum, integrity.corruption-handle-level…
Oreoxmt May 18, 2023
3382532
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 18, 2023
07d3015
Update tidb-roadmap.md since last LTS
samhld May 19, 2023
b1f65cd
Discard changes to tidb-roadmap.md
Oreoxmt May 19, 2023
488e713
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 22, 2023
708cf54
Apply suggestions from code review
Oreoxmt May 22, 2023
313bd71
update hightlight table
Oreoxmt May 22, 2023
553879c
Apply suggestions from code review
Oreoxmt May 22, 2023
ddd1be4
Update releases/release-7.1.0.md
ran-huang May 23, 2023
4932c8b
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 23, 2023
2ecd196
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 23, 2023
ea4cd14
add audit log enhancement highlights
lucifinil May 23, 2023
93949c6
correct format
lucifinil May 23, 2023
149d798
Update release-7.1.0.md
lucifinil May 23, 2023
392e575
Update releases/release-7.1.0.md
hfxsd May 24, 2023
dbb4cb3
Update releases/release-7.1.0.md
hfxsd May 24, 2023
5935a44
update highlight
Oreoxmt May 24, 2023
5ed2f42
Apply suggestions from code review
ran-huang May 24, 2023
2e94385
Apply suggestions from code review
hfxsd May 24, 2023
086b8a4
Apply suggestions from code review
Oreoxmt May 25, 2023
dbd06a2
update Improvements and Bug fixes
Oreoxmt May 25, 2023
57a3b09
Apply suggestions from code review
qiancai May 25, 2023
d9a0aa9
add TiKV, PD, TiCDC
Oreoxmt May 26, 2023
e1eb10e
Apply suggestions from code review
Oreoxmt May 26, 2023
4940dba
Apply suggestions from code review
qiancai May 26, 2023
3914b6a
Apply suggestions from code review
qiancai May 26, 2023
bbaf476
Update releases/release-7.1.0.md
D3Hunter May 26, 2023
cf9f8dc
Apply suggestions from code review
hfxsd May 29, 2023
31bf8c2
Apply suggestions from code review
Oreoxmt May 29, 2023
7a0bd94
update contributor list and remove issue 42323
Oreoxmt May 29, 2023
f4274a6
Apply suggestions from code review
ran-huang May 29, 2023
462c08c
Apply suggestions from code review
qiancai May 29, 2023
ba3404e
Apply suggestions from code review
ran-huang May 29, 2023
92f4bc7
Update releases/release-7.1.0.md
hfxsd May 29, 2023
c0f42e1
Apply suggestions from code review
Oreoxmt May 29, 2023
7dd8846
- update links tp v7.1
Oreoxmt May 30, 2023
1678c11
Update releases/release-7.1.0.md
D3Hunter May 30, 2023
2e71673
Update releases/release-7.1.0.md
D3Hunter May 30, 2023
d4cd29f
Update releases/release-7.1.0.md
D3Hunter May 30, 2023
6171208
Apply suggestions from code review
hfxsd May 30, 2023
795540a
remove deprecated feature
Oreoxmt May 30, 2023
fbfb586
Apply suggestions from code review
Oreoxmt May 30, 2023
bfbb7dc
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 30, 2023
b245147
- update release data
Oreoxmt May 30, 2023
db9d77f
Merge branch 'master' into v7.1.0-release-notes
Oreoxmt May 31, 2023
3a456d2
fix typo and ci
Oreoxmt May 31, 2023
e58e9ba
update release date
Oreoxmt May 31, 2023
33484a5
Apply suggestions from code review
Oreoxmt May 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 47 additions & 5 deletions releases/release-7.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ summary: Learn about the new features, compatibility changes, improvements, and

# TiDB 7.1.0 Release Notes

TiDB version: 7.1.0 (upcoming)
Release date: xxxx

> **Note:**
>
> TiDB v7.1.0 is not yet available. This release note is a preview version to provide insights into upcoming features and is subject to change. The features outlined here are not guaranteed to be included in the final release.
TiDB version: 7.1.0 (LTS)

Quick access: [Quick start](https://docs.pingcap.com/tidb/v7.1/quick-start-with-tidb) | [Production deployment](https://docs.pingcap.com/tidb/v7.1/production-deployment-using-tiup) | [Installation packages](https://www.pingcap.com/download/?version=v7.1.0#version-list)

In v7.1.0, the key new features and improvements are as follows:
In v7.1.0-LTS, the key new features and improvements are as follows:

<table>
<thead>
Expand Down Expand Up @@ -52,6 +52,16 @@ In v7.1.0, the key new features and improvements are as follows:

### Performance

* Enhance the Partitioned Raft KV storage engine (experimental) [#11515](https://github.com/tikv/tikv/issues/11515) [#12842](https://github.com/tikv/tikv/issues/12842) @[busyjay](https://github.com/busyjay) @[tonyxuqqi](https://github.com/tonyxuqqi) @[tabokie](https://github.com/tabokie) @[bufferflies](https://github.com/bufferflies) @[5kbpers](https://github.com/5kbpers) @[SpadeA-Tang](https://github.com/SpadeA-Tang) @[nolouch](https://github.com/nolouch) **tw:Oreoxmt**

TiDB v6.6.0 introduces the Partitioned Raft KV storage engine as an experimental feature, which uses multiple RocksDB instances to store TiKV Region data, and the data of each Region is independently stored in a separate RocksDB instance. The new storage engine can better control the number and level of files in the RocksDB instance, achieve physical isolation of data operations between Regions, and support stably managing more data. Compared with the original TiKV storage engine, using the Partitioned Raft KV storage engine can achieve about twice the write throughput, three times the read throughput, and reduce the elastic scaling time by about 4/5 under the same hardware conditions and mixed read and write scenarios.
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

In TiDB v7.1.0, the Partitioned Raft KV storage engine is compatible with TiFlash and supports tools such as TiDB Lightning, BR, and TiCDC.
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

Currently, this feature is experimental and not recommended for use in production environments. You can only use this engine in a newly created cluster and you cannot directly upgrade from the original TiKV storage engine.

For more information, see [documentation](/partitioned-raft-kv.md).

* TiFlash supports late materialization (GA) [#5829](https://github.com/pingcap/tiflash/issues/5829) @[Lloyd-Pottiger](https://github.com/Lloyd-Pottiger)

In v7.0.0, late materialization was introduced in TiFlash as an experimental feature for optimizing query performance. This feature is disabled by default (the [`tidb_opt_enable_late_materialization`](/system-variables.md#tidb_opt_enable_late_materialization-new-in-v700) system variable defaults to `OFF`). When processing a `SELECT` statement with filter conditions (`WHERE` clause), TiFlash reads all the data from the columns required by the query, and then filters and aggregates the data based on the query conditions. When Late materialization is enabled, TiDB supports pushing down part of the filter conditions to the TableScan operator. That is, TiFlash first scans the column data related to the filter conditions that are pushed down to the TableScan operator, filters the rows that meet the condition, and then scans the other column data of these rows for further calculation, thereby reducing IO scans and computations of data processing.
Expand Down Expand Up @@ -84,6 +94,18 @@ In v7.1.0, the key new features and improvements are as follows:

For more information, see [documentation](/sql-non-prepared-plan-cache.md).

* Support the DDL distributed parallel execution framework [#41495](https://github.com/pingcap/tidb/issues/41495) @[benjamin2037](https://github.com/benjamin2037) **tw:ran-huang**

Before TiDB v7.1.0, only one TiDB node can serve as the DDL owner and execute DDL tasks at the same time. Starting from TiDB v7.1.0, in the new distributed parallel execution framework, multiple TiDB nodes can execute the same DDL task in parallel, thus better utilizing the resources of the TiDB cluster and significantly improving the performance of DDL. In addition, you can linearly improve the performance of DDL by adding more TiDB nodes. Note that this feature is currently experimental and only supports `ADD INDEX` operations.

To use the distributed framework, set the value of [`tidb_enable_dist_task`](/system-variables.md#tidb_enable_dist_task) to `ON`:

```sql
SET GLOBAL tidb_enable_dist_task = ON;
```

For more information, see [documentation](/tidb-distributed-execution-framework.md).

### Reliability

* Resource Control becomes generally available (GA) [#38825](https://github.com/pingcap/tidb/issues/38825) @[nolouch](https://github.com/nolouch) @[BornChanger](https://github.com/BornChanger) @[glorv](https://github.com/glorv) @[tiancaiamao](https://github.com/tiancaiamao) @[Connor1996](https://github.com/Connor1996) @[JmPotato](https://github.com/JmPotato) @[hnes](https://github.com/hnes) @[CabinfeverB](https://github.com/CabinfeverB) @[HuSharp](https://github.com/HuSharp)
Expand Down Expand Up @@ -116,6 +138,18 @@ In v7.1.0, the key new features and improvements are as follows:

For more information, see [documentation](/statistics.md#load-statistics).

* TiCDC supports the integrity validation feature for single-row data [#8718](https://github.com/pingcap/tiflow/issues/8718) [#42747](https://github.com/pingcap/tidb/issues/42747) @[3AceShowHand](https://github.com/3AceShowHand) @[zyguan](https://github.com/zyguan) **tw:Oreoxmt**
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

Starting from v7.1.0, TiCDC introduces the data integrity validation feature, which uses a checksum algorithm to validate the integrity of single-row data. This feature helps verify whether any error occurs in the process of writing data from TiDB, replicating it through TiCDC, and then writing it to a Kafka cluster. The data integrity validation feature only supports changefeeds that use Kafka as the downstream and currently supports the Avro protocol.

For more information, see [documentation](/ticdc/ticdc-integrity-check.md).

ran-huang marked this conversation as resolved.
Show resolved Hide resolved
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
* TiCDC optimizes DDL replication operations [#8686](https://github.com/pingcap/tiflow/issues/8686) @[nongfushanquan](https://github.com/nongfushanquan) **tw:ran-huang**

Before v7.1.0, when you perform a DDL operation that affects all rows on a large table (such as adding or deleting a column), the replication latency of TiCDC would significantly increase. Starting from v7.1.0, TiCDC optimizes this replication operation and mitigates the impact of DDL operations on downstream latency.

For more information, see [documentation](). (to be added)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

hfxsd marked this conversation as resolved.
Show resolved Hide resolved
### SQL

* Support saving TiFlash query results using the `INSERT INTO SELECT` statement (GA) [#37515](https://github.com/pingcap/tidb/issues/37515) @[gengliqi](https://github.com/gengliqi)
Expand Down Expand Up @@ -195,6 +229,14 @@ In v7.1.0, the key new features and improvements are as follows:

For more information, see [documentation](/ddl-introduction.md#ddl-related-commands).

* Support smooth cluster upgrade without manually canceling DDL operations [#39751](https://github.com/pingcap/tidb/issues/39751) @[zimulala](https://github.com/zimulala) @[hawkingrei](https://github.com/hawkingrei) **tw:ran-huang**
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

Before TiDB v7.1.0, to upgrade a cluster, you must manually cancel its running or queued DDL tasks before the upgrade and then add them back after the upgrade.

To provide a smoother upgrade experience, TiDB v7.1.0 supports automatically pausing and resuming DDL tasks. Starting from v7.1.0, you can upgrade your clusters without manually canceling DDL tasks in advance. TiDB will automatically pause any running or queued DDL tasks before the upgrade and resume these tasks after the rolling upgrade, making it easier for you to upgrade your TiDB clusters.
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

For more information, see [documentation](to be added).
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

### Observability

* Enhance optimizer diagnostic information [#43122](https://github.com/pingcap/tidb/issues/43122) @[time-and-fate](https://github.com/time-and-fate)
Expand Down