Skip to content

Commit

Permalink
Add TiDB v5.4 release notes (#7430) (#7570)
Browse files Browse the repository at this point in the history
* Add TiDB v5.4 release notes

* Update releases/release-5.4.0.md

* Apply suggestions from code review

* update basic feature and experimental features

* update according to google docs

* delete raft engine and add dm doc statement

* Update experimental-features.md

* Update releases/release-5.4.0.md

Co-authored-by: sunzy <[email protected]>

* Apply suggestions from code review

Co-authored-by: Ian <[email protected]>

* add back raft engine

* Update releases/release-5.4.0.md

Co-authored-by: shichun-0415 <[email protected]>

* Apply suggestions from code review

Co-authored-by: Grace Cai <[email protected]>

* fix link

* fix jenkins

* fix

* Apply suggestions from code review

* fix broken anchors

* add snap-generator-pool-size

* fix anchors

* bump version for pd

* remove tidb dashboard root

* fix anchor

* mention the removal of pitr and cdclog

* address comment

Co-authored-by: Daniël van Eeden <[email protected]>

* minor wording change

* change date

* Update releases/release-timeline.md

Co-authored-by: TomShawn <[email protected]>
Co-authored-by: shichun-0415 <[email protected]>
Co-authored-by: sunzy <[email protected]>
Co-authored-by: Ian <[email protected]>
Co-authored-by: qqqdan <[email protected]>
Co-authored-by: Grace Cai <[email protected]>
Co-authored-by: Daniël van Eeden <[email protected]>
  • Loading branch information
8 people committed Feb 15, 2022
1 parent 61fe9fd commit 8677008
Show file tree
Hide file tree
Showing 9 changed files with 591 additions and 140 deletions.
2 changes: 2 additions & 0 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,8 @@
- Release Notes
- [All Releases](/releases/release-notes.md)
- [Release Timeline](/releases/release-timeline.md)
- v5.4
- [5.4.0](/releases/release-5.4.0.md)
- v5.3
- [5.3.0](/releases/release-5.3.0.md)
- v5.2
Expand Down
2 changes: 1 addition & 1 deletion _index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Designed for the cloud, TiDB provides flexible scalability, reliability and secu

- [TiDB Introduction](/overview.md)
- [Basic Features](/basic-features.md)
- [TiDB 5.3 Release Notes](/releases/release-5.3.0.md)
- [TiDB 5.4 Release Notes](/releases/release-5.4.0.md)
- [TiDB Release Timeline](/releases/release-timeline.md)
- [Compatibility with MySQL](/mysql-compatibility.md)
- [Usage Limitations](/tidb-limitations.md)
Expand Down
265 changes: 133 additions & 132 deletions basic-features.md

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions experimental-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ summary: Learn the experimental features of TiDB.

This document introduces the experimental features of TiDB in different versions. It is **NOT** recommended to use these features in the production environment.

## Performance

+ [Automatically scale TiFlash thread pool](/tiflash/tiflash-configuration.md). (Introduced in v5.4)
+ [Raft Engine](/tikv-configuration-file.md#raft-engine). (Introduced in v5.4)
+ [Support collecting statistics for `PREDICATE COLUMNS`](/statistics.md#collect-statistics-on-some-columns) (Introduced in v5.4)
+ [Support synchronously loading statistics](/statistics.md#load-statistics). (Introduced in v5.4)

## Stability

+ TiFlash limits the use of I/O resources by compressing or sorting data, mitigating the contention for I/O resources between background tasks and front-end data reading and writing (Introduced in v5.0)
Expand Down Expand Up @@ -46,10 +53,6 @@ This document introduces the experimental features of TiDB in different versions
+ [Titan Level Merge](/storage-engine/titan-configuration.md#level-merge-experimental) (Introduced in v4.0)
+ TiFlash supports distributing the new data of the storage engine on multiple hard drives to share the I/O pressure. (Introduced in v4.0)

## Data migration

+ [DM OpenAPI](/dm/dm-open-api.md) (Introduced in v5.3)

## Backup and restoration

+ [Back up Raw KV](/br/use-br-command-line-tool.md#back-up-raw-kv-experimental-feature) (Introduced in v3.1)
Expand All @@ -63,4 +66,5 @@ This document introduces the experimental features of TiDB in different versions
+ [SQL diagnostics](/information-schema/information-schema-sql-diagnostics.md) (Introduced in v4.0)
+ [Cluster diagnostics](/dashboard/dashboard-diagnostics-access.md) (Introduced in v4.0)
+ [Continuous profiling](/dashboard/continuous-profiling.md) (Introduced in v5.3)
+ [Online Unsafe Recovery](/online-unsafe-recovery.md) (Introduced in v5.3)
+ [Online Unsafe Recovery](/online-unsafe-recovery.md) (Introduced in v5.3)
+ [Top SQL](/dashboard/top-sql.md) (Introduced in v5.4)
2 changes: 1 addition & 1 deletion pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ If you want to download the latest version of `pd-ctl`, directly download the Ti

> **Note:**
>
> `{version}` indicates the version number of TiDB. For example, if `{version}` is `v5.3.0`, the package download link is `https://download.pingcap.org/tidb-v5.3.0-linux-amd64.tar.gz`.
> `{version}` indicates the version number of TiDB. For example, if `{version}` is `v5.4.0`, the package download link is `https://download.pingcap.org/tidb-v5.4.0-linux-amd64.tar.gz`.
### Compile from source code

Expand Down
2 changes: 1 addition & 1 deletion pd-recover.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To download the latest version of PD Recover, directly download the TiDB package

> **Note:**
>
> `{version}` indicates the version number of TiDB. For example, if `{version}` is `v5.3.0`, the package download link is `https://download.pingcap.org/tidb-v5.3.0-linux-amd64.tar.gz`.
> `{version}` indicates the version number of TiDB. For example, if `{version}` is `v5.4.0`, the package download link is `https://download.pingcap.org/tidb-v5.4.0-linux-amd64.tar.gz`.
## Quick Start

Expand Down
436 changes: 436 additions & 0 deletions releases/release-5.4.0.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions releases/release-timeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This document shows all the released TiDB versions in reverse chronological orde

| Version | Release Date |
| :--- | :--- |
| [5.4.0](/releases/release-5.4.0.md) | 2022-02-15 |
| [5.0.6](/releases/release-5.0.6.md) | 2021-12-31 |
| [4.0.16](/releases/release-4.0.16.md) | 2021-12-17 |
| [5.1.3](/releases/release-5.1.3.md) | 2021-12-03 |
Expand Down
7 changes: 7 additions & 0 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,13 @@ Configuration items related to Raftstore.
+ Default value: `"4h"`
+ Minimum value: `0`

## `snap-generator-pool-size` <span class="version-mark">New in v5.4.0</span>

+ Configures the size of the `snap-generator` thread pool.
+ To make Regions generate snapshot faster in TiKV in recovery scenarios, you need to increase the count of the `snap-generator` threads of the corresponding worker. You can use this configuration item to increase the size of the `snap-generator` thread pool.
+ Default value: `2`
+ Minimum value: `0`

### `lock-cf-compact-interval`

+ The time interval at which TiKV triggers a manual compaction for the Lock Column Family
Expand Down

0 comments on commit 8677008

Please sign in to comment.