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

[WIP]: add v8.5.0 release notes #19336

Draft
wants to merge 61 commits into
base: master
Choose a base branch
from
Draft
Changes from 3 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
8501025
Create release-8.5.0.md
qiancai Nov 5, 2024
8d805ec
Update release-8.5.0.md
qiancai Nov 6, 2024
af2c27b
Added BR Log Encryption GA Release Note
benmeadowcroft Nov 7, 2024
a90a7d3
Apply suggestions from code review
qiancai Nov 7, 2024
577f602
minor format updates
qiancai Nov 11, 2024
5e23349
Update releases/release-8.5.0.md
qiancai Nov 11, 2024
17d1e67
add two PD features
qiancai Nov 11, 2024
75dd8ad
Update releases/release-8.5.0.md
qiancai Nov 12, 2024
0a0a459
Apply suggestions from code review
qiancai Nov 12, 2024
cd19939
Apply suggestions from code review
hfxsd Nov 15, 2024
ba2b4c0
Update release-8.5.0.md
ljun0712 Nov 18, 2024
3457fc3
update tidb_enable_fast_create_table
Oreoxmt Nov 19, 2024
31849ea
add compatibility changes > system variables: tidb_enable_fast_create…
Oreoxmt Nov 19, 2024
30d5d9d
add the highlight table
qiancai Nov 20, 2024
5b25d79
Apply suggestions from code review
qiancai Nov 20, 2024
4a4da4e
Update releases/release-8.5.0.md
qiancai Nov 22, 2024
0ed8ce1
update the description for #5739
qiancai Nov 22, 2024
4f6e5d5
update the description for #8906
qiancai Nov 22, 2024
39bac80
update Active PD Follower
Oreoxmt Nov 22, 2024
b587f80
highlights: update Active PD Followers and TiProxy
Oreoxmt Nov 22, 2024
3e11ebb
translate highlights
qiancai Nov 25, 2024
0e2f901
update descriptions of two features
qiancai Nov 25, 2024
8087f51
translate highlights
qiancai Nov 25, 2024
fecddac
update highlights
qiancai Nov 25, 2024
92ee70b
update highlights
qiancai Nov 25, 2024
56a2541
update highlights for data processing
qiancai Nov 25, 2024
81e9b73
Update foreign key descriptions
lilin90 Nov 25, 2024
2d32e78
Add a link to foreign key
lilin90 Nov 25, 2024
8ee66e2
Update translation
lilin90 Nov 25, 2024
2b41004
Add change of TiKV config raft-client-queue-size
lilin90 Nov 25, 2024
94712e2
Update deprecation
lilin90 Nov 25, 2024
df04b24
Apply suggestions from code review
hfxsd Nov 25, 2024
651b5e0
Apply suggestions from code review
hfxsd Nov 25, 2024
c3c90bd
Update releases/release-8.5.0.md
hfxsd Nov 26, 2024
a72cf08
Apply suggestions from code review
qiancai Nov 26, 2024
5f5a9bc
Apply suggestions from code review
lilin90 Nov 26, 2024
431686d
Apply suggestions from code review
Oreoxmt Nov 26, 2024
94c0acc
add improvements and bug fixes
qiancai Nov 27, 2024
c70d893
Apply suggestions from code review
hfxsd Nov 27, 2024
966f7a1
improvement and bug fixes: update TiFlash, TiKV, TiCDC, and TiDB Ligh…
Oreoxmt Nov 27, 2024
7174132
Update releases/release-8.5.0.md
hfxsd Nov 27, 2024
9609506
Apply suggestions from code review
hfxsd Nov 28, 2024
21cf6be
Apply suggestions from code review
Oreoxmt Nov 28, 2024
f4c2d81
Apply suggestions from code review
hfxsd Nov 28, 2024
3575d31
update TiDB bug fixes
qiancai Nov 28, 2024
a22ff56
translate PD improvements and TiDB bug fixes
qiancai Nov 28, 2024
d1f9bf5
add #57627
qiancai Nov 29, 2024
26d3e95
Apply suggestions from code review
qiancai Nov 29, 2024
aaff9d1
Apply suggestions from code review
Oreoxmt Nov 29, 2024
455579e
Apply suggestions from code review
Oreoxmt Nov 29, 2024
19fa114
Apply suggestions from code review
hfxsd Nov 29, 2024
ec490d5
Fix format
lilin90 Nov 29, 2024
f17f97b
Apply suggestions from code review
hfxsd Nov 29, 2024
5fbe41e
update compatibility info and add contributor info
qiancai Nov 30, 2024
c6c724a
Merge remote-tracking branch 'upstream/master' into add-rn-v8.5
qiancai Nov 30, 2024
4eb8678
replace zh dup notes with en dup notes
qiancai Nov 30, 2024
0d454f6
Apply suggestions from code review
qiancai Dec 3, 2024
55642fa
Update wording for consistency
lilin90 Dec 3, 2024
5012457
add 3 bug fixes
qiancai Dec 3, 2024
db59b7b
add PD: improvements
Oreoxmt Dec 3, 2024
57f19f4
fix format
Oreoxmt Dec 3, 2024
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
247 changes: 247 additions & 0 deletions releases/release-8.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,247 @@
---
title: TiDB 8.5.0 Release Notes
summary: Learn about the new features, compatibility changes, improvements, and bug fixes in TiDB 8.5.0.
---

# TiDB 8.5.0 Release Notes

<EmailSubscriptionWrapper />

Release date: xx xx, 2024

TiDB version: 8.5.0

Quick access: [Quick start](https://docs.pingcap.com/tidb/v8.5/quick-start-with-tidb) | [Production deployment](https://docs.pingcap.com/tidb/v8.5/production-deployment-using-tiup)

TiDB 8.5.0 is a Long-Term Support Release (LTS).

Compared with the previous LTS 8.1.0, 8.5.0 includes new features, improvements, and bug fixes released in [8.2.0-DMR](/releases/release-8.2.0.md), [8.3.0-DMR](/releases/release-8.3.0.md), and [8.4.0-DMR](/releases/release-8.4.0.md). When you upgrade from 8.1.x to 8.5.0, you can download the [TiDB Release Notes PDF](https://download.pingcap.org/tidb-v8.1-to-v8.5-en-release-notes.pdf) to view all release notes between the two LTS versions. The following table lists some highlights from 8.1.0 to 8.5.0:

<!--Highlights table: ToDo-->

## Feature details

### Scalability

* Placeholder for feature summary [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link) **tw@xxx** <!--1234-->

Provide a concise overview of what the feature is, the value it offers to users, and include a brief sentence on how to use it effectively. If there are any particularly important aspects of this feature, be sure to mention them as well.

For more information, see [Documentation](link).

qiancai marked this conversation as resolved.
Show resolved Hide resolved
### Performance

* Placeholder for feature summary [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link) **tw@xxx** <!--1234-->

Provide a concise overview of what the feature is, the value it offers to users, and include a brief sentence on how to use it effectively. If there are any particularly important aspects of this feature, be sure to mention them as well.

For more information, see [Documentation](link).

qiancai marked this conversation as resolved.
Show resolved Hide resolved
### Reliability
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

* Placeholder for feature summary [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link) **tw@xxx** <!--1234-->

Provide a concise overview of what the feature is, the value it offers to users, and include a brief sentence on how to use it effectively. If there are any particularly important aspects of this feature, be sure to mention them as well.

For more information, see [Documentation](link).

### Availability

* Placeholder for feature summary [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link) **tw@xxx** <!--1234-->

Provide a concise overview of what the feature is, the value it offers to users, and include a brief sentence on how to use it effectively. If there are any particularly important aspects of this feature, be sure to mention them as well.

For more information, see [Documentation](link).

### SQL

* Placeholder for feature summary [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link) **tw@xxx** <!--1234-->

Provide a concise overview of what the feature is, the value it offers to users, and include a brief sentence on how to use it effectively. If there are any particularly important aspects of this feature, be sure to mention them as well.

For more information, see [Documentation](link).

qiancai marked this conversation as resolved.
Show resolved Hide resolved
### DB operations

* Placeholder for feature summary [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link) **tw@xxx** <!--1234-->

Provide a concise overview of what the feature is, the value it offers to users, and include a brief sentence on how to use it effectively. If there are any particularly important aspects of this feature, be sure to mention them as well.

For more information, see [Documentation](link).

### Observability

* Placeholder for feature summary [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link) **tw@xxx** <!--1234-->

Provide a concise overview of what the feature is, the value it offers to users, and include a brief sentence on how to use it effectively. If there are any particularly important aspects of this feature, be sure to mention them as well.

For more information, see [Documentation](link).

### Security

* BR supports client-side encryption of log backup data (GA) [#56433](https://github.com/pingcap/tidb/issues/56433) @[Tristan1900](https://github.com/Tristan1900) tw@qiancai <!--1998-->
qiancai marked this conversation as resolved.
Show resolved Hide resolved

qiancai marked this conversation as resolved.
Show resolved Hide resolved
TiDB v8.4.0 introduced an experimental feature to encrypt, on the client side, log backup data. Starting from v8.5.0, this feature is now Generally Avaialble. Before uploading log backup data to your backup storage, you can encrypt the backup data to ensure its security via one of the following methods:
qiancai marked this conversation as resolved.
Show resolved Hide resolved

- Encrypt using a custom fixed key
- Encrypt using a master key stored on a local disk
- Encrypt using a master key managed by a Key Management Service (KMS)

For more information, see [documentation](/br/br-pitr-manual.md#encrypt-the-log-backup-data).

### Data migration

* Placeholder for feature summary [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link) **tw@xxx** <!--1234-->

Provide a concise overview of what the feature is, the value it offers to users, and include a brief sentence on how to use it effectively. If there are any particularly important aspects of this feature, be sure to mention them as well.

For more information, see [Documentation](link).

## Compatibility changes

> **Note:**
>
> This section provides compatibility changes you need to know when you upgrade from v8.1.0 to the current version (v8.2.0). If you are upgrading from v8.0.0 or earlier versions to the current version, you might also need to check the compatibility changes introduced in intermediate versions.

### Behavior changes

### MySQL compatibility

### System variables

| Variable name | Change type | Description |
|--------|------------------------------|------|
| | | |
qiancai marked this conversation as resolved.
Show resolved Hide resolved
| | | |
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
| | | |

### Configuration parameters

| Configuration file or component | Configuration parameter | Change type | Description |
| -------- | -------- | -------- | -------- |
| | | | |
| | | | |
| | | | |

### System tables

### Other changes

## Offline package changes

## Removed features

## Deprecated features

* The following features are planned for deprecation in future versions:

* TiDB introduces the system variable [`tidb_enable_auto_analyze_priority_queue`](/system-variables.md#tidb_enable_auto_analyze_priority_queue-new-in-v800), which controls whether priority queues are enabled to optimize the ordering of tasks that automatically collect statistics. In future releases, the priority queue will be the only way to order tasks for automatically collecting statistics, so this system variable will be deprecated.
* TiDB introduces the system variable [`tidb_enable_async_merge_global_stats`](/system-variables.md#tidb_enable_async_merge_global_stats-new-in-v750) in v7.5.0. You can use it to set TiDB to use asynchronous merging of partition statistics to avoid OOM issues. In future releases, partition statistics will be merged asynchronously, so this system variable will be deprecated.
* It is planned to redesign [the automatic evolution of execution plan bindings](/sql-plan-management.md#baseline-evolution) in subsequent releases, and the related variables and behavior will change.
* In v8.0.0, TiDB introduces the [`tidb_enable_parallel_hashagg_spill`](/system-variables.md#tidb_enable_parallel_hashagg_spill-new-in-v800) system variable to control whether TiDB supports disk spill for the concurrent HashAgg algorithm. In future versions, the [`tidb_enable_parallel_hashagg_spill`](/system-variables.md#tidb_enable_parallel_hashagg_spill-new-in-v800) system variable will be deprecated.
* The TiDB Lightning parameter [`conflict.max-record-rows`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-task) is planned for deprecation in a future release and will be subsequently removed. This parameter will be replaced by [`conflict.threshold`](/tidb-lightning/tidb-lightning-configuration.md#tidb-lightning-task), which means that the maximum number of conflicting records is consistent with the maximum number of conflicting records that can be tolerated in a single import task.
* Starting from v6.3.0, partitioned tables use [dynamic pruning mode](/partitioned-table.md#dynamic-pruning-mode) by default. Compared with static pruning mode, dynamic pruning mode supports features such as IndexJoin and plan cache with better performance. Therefore, static pruning mode will be deprecated.

## Improvements

+ TiDB

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiKV

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ PD

qiancai marked this conversation as resolved.
Show resolved Hide resolved
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
+ TiFlash

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ Tools

+ Backup & Restore (BR)

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiCDC

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiDB Data Migration (DM)

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiDB Lightning

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiUP

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

## Bug fixes

+ TiDB

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiKV

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ PD

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiFlash

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ Tools

+ Backup & Restore (BR)

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiCDC

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiDB Data Migration (DM)

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiDB Lightning

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

+ TiUP

- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)
- note [#Issue-number](issue-link) @[Contributor-GitHub-ID](id-link)

## Contributors

We would like to thank the following contributors from the TiDB community:

- [Contributor-GitHub-ID](id-link)