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

Add TiDB v5.4 release notes (#7430) #7570

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
cf2ac74
Add TiDB v5.4 release notes
TomShawn Jan 19, 2022
f3b9319
Update releases/release-5.4.0.md
TomShawn Jan 19, 2022
8dcccdf
Apply suggestions from code review
shichun-0415 Jan 19, 2022
e168a9f
update basic feature and experimental features
TomShawn Jan 20, 2022
2f4a163
update according to google docs
TomShawn Jan 21, 2022
01b8c9b
delete raft engine and add dm doc statement
TomShawn Jan 21, 2022
1c5f65a
Update experimental-features.md
TomShawn Jan 21, 2022
9b0d72b
Update releases/release-5.4.0.md
TomShawn Jan 24, 2022
960c07c
Apply suggestions from code review
TomShawn Jan 24, 2022
6f9d2c2
add back raft engine
TomShawn Jan 24, 2022
e7c3469
Update releases/release-5.4.0.md
qqqdan Jan 25, 2022
ce4efbb
Apply suggestions from code review
TomShawn Jan 26, 2022
827a9a9
fix link
TomShawn Jan 26, 2022
5d90ae7
fix jenkins
TomShawn Jan 26, 2022
2208ecb
fix
TomShawn Jan 26, 2022
f2679c0
Apply suggestions from code review
shichun-0415 Jan 26, 2022
8414814
fix broken anchors
TomShawn Jan 26, 2022
66a155f
add snap-generator-pool-size
TomShawn Jan 26, 2022
20d8c5f
fix anchors
TomShawn Jan 26, 2022
38f7395
bump version for pd
TomShawn Jan 26, 2022
a4c2de7
remove tidb dashboard root
TomShawn Jan 28, 2022
2882b24
fix anchor
TomShawn Jan 28, 2022
a41c7d6
mention the removal of pitr and cdclog
TomShawn Feb 7, 2022
3d12abe
address comment
TomShawn Feb 7, 2022
1ab2146
minor wording change
TomShawn Feb 14, 2022
4176715
change date
TomShawn Feb 15, 2022
97d5e10
Update releases/release-timeline.md
TomShawn Feb 15, 2022
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
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