Skip to content

Commit 39f9369

Browse files
committed
Merge branch 'release-8.5' into feature/preview-premium
2 parents b9cde78 + ecd31cc commit 39f9369

13 files changed

Lines changed: 69 additions & 50 deletions

.github/workflows/link.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ jobs:
1919
- name: Check Links
2020
uses: lycheeverse/lychee-action@v1.6.1
2121
with:
22-
# For parameter description, see https://github.com/lycheeverse/lychee#commandline-parameters
23-
# Accept 429 for now due to github rate limit.
24-
# See https://github.com/lycheeverse/lychee/issues/634
25-
args: -E --exclude-mail -i -n -t 45 -- **/*.md *.md
22+
# Don't fail as we want the workflow to continue and run 'Create Issue From File'
23+
# Excluding releases paths as historic releases may have outdated links.
24+
fail: false
25+
failIfEmpty: false
26+
args: --root-dir $(pwd) --cache --max-cache-age 8d -E -i -n -t 45 --exclude-path '^./releases/' --exclude-path '^./tidb-cloud/releases/' --exclude-path '^./resources/' .
2627
output: out.md
2728
env:
2829
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.lycheeignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ https://github\.com/.*/issues/?
33
https://github\.com/.*/pull/?
44
https://github\.com/.*/pull/[0-9]+
55
https://github\.com/.*/issues/[0-9]+
6+
https://github\.com/pingcap/tiflow/blob/master/dm/docs/.*
7+
https://github\.com/\$user/(docs|docs-cn)
8+
https://.*github.*/%7B%7B%7B%20.tidb_operator_version%20%7D%7D%7D
69
https?://\$?\{host}/dashboard.*
710
http://xn--\$?\{ip}-m86ht9t5l1bhz9ayu7b:3000.*
811
http://ip:2379.*
@@ -14,7 +17,6 @@ file://.*?http:/\$%7BPD_IP%7D:\$%7BPD_PORT%7D/dashboard.*
1417
http://\{grafana-ip\}:3000
1518
http://\{pd-ip\}:2379/dashboard
1619
http://localhost:\d+/
17-
https://github\.com/\$user/(docs|docs-cn)
1820
https://linux\.die\.net/man.*
1921
https://dev\.mysql\.com/doc/.+/5.7/en/.*
2022
https://dev\.mysql\.com/doc/.+/8\.0/en/.*
@@ -27,6 +29,7 @@ https://bugs\.mysql\.com/bug\.php.*
2729
https://www\.mysql\.com/products/.*
2830
https://help\.openai\.com/en/articles/.*
2931
https://platform\.openai\.com/docs/.*
32+
https://platform\.openai\.com/api-keys
3033
https://openai\.com/.*
3134
https://jwt\.io/
3235
https://typeorm\.io/.*
@@ -36,3 +39,9 @@ https://docs\.pingcap\.com/tidb/v6\.6/system-variables#tidb_pessimistic_txn_aggr
3639
https://docs\.pingcap\.com/tidb/v7\.6/system-variables#tidb_ddl_version-new-in-v760
3740
https://developers\.redhat\.com/blog/2021/01/05/building-red-hat-enterprise-linux-9-for-the-x86-64-v2-microarchitecture-level
3841
https://portal\.azure\.com/.*
42+
https://.*github.*/%7B%7B%7B%20.tidb_operator_version%20%7D%7D%7D
43+
https://.*github.*/%7B%7B%7B.tidb-operator-version%7D%7D%7D
44+
https://portal\.azure\.com/.*
45+
https://azuremarketplace\.microsoft\.com/.*
46+
https://one\.newrelic\.com/.*
47+
https://tidbcloud\.com/.*

best-practices/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Learn best practices for designing schemas in TiDB, including managing DDL opera
2323
| ------------------- | ----------- |
2424
| [Manage DDL](/best-practices/ddl-introduction.md) | Best practices for managing Data Definition Language (DDL) operations in TiDB. |
2525
| [Use UUIDs as Primary Keys](/best-practices/uuid.md) | Best practices for storing and indexing UUIDs (Universally Unique Identifiers) efficiently when using UUIDs as primary keys. |
26+
| [Use TiDB Partitioned Tables](/best-practices/tidb-partitioned-tables-best-practices.md) | Best practices for using TiDB partitioned tables to improve performance, simplify data management, and efficiently handle large-scale datasets. |
2627
| [Optimize Multi-Column Indexes](/best-practices/multi-column-index-best-practices.md) | Best practices for designing and using multi-column indexes in TiDB to improve query performance. |
2728
| [Manage Indexes and Identify Unused Indexes](/best-practices/index-management-best-practices.md) | Best practices for managing and optimizing indexes, identifying and removing unused indexes in TiDB to optimize performance. |
2829

dm/dm-compatibility-catalog.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ DM supports migrating data from different sources to TiDB clusters. Based on the
1414

1515
## Data sources
1616

17-
| Data source | Compatibility level | Note |
18-
| - | - | - |
19-
| MySQL ≤ 5.5 | Not tested | |
20-
| MySQL 5.6 | GA | |
21-
| MySQL 5.7 | GA | |
22-
| MySQL 8.0 | GA | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html). |
23-
| MySQL 8.1 ~ 8.3 | Not tested | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html). |
24-
| MySQL 8.4 | Experimental (supported starting from TiDB v8.5.6) | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.4/en/binary-log-transaction-compression.html). |
25-
| MySQL 9.x | Not tested | |
26-
| MariaDB < 10.1.2 | Incompatible | Incompatible with binlog of the time type. |
27-
| MariaDB 10.1.2 ~ 10.5.10 | Experimental | |
28-
| MariaDB > 10.5.10 | Not tested | Expected to work in most cases after bypassing the [precheck](/dm/dm-precheck.md). See [MariaDB notes](#mariadb-notes). |
17+
| Data source | Compatibility level | Note |
18+
| ------------------------ | ------------------- | ---- |
19+
| MySQL ≤ 5.5 | Not tested | |
20+
| MySQL 5.6 | GA | |
21+
| MySQL 5.7 | GA | |
22+
| MySQL 8.0 | GA | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html). |
23+
| MySQL 8.1 ~ 8.3 | Not tested | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.0/en/binary-log-transaction-compression.html). |
24+
| MySQL 8.4 | Experimental (supported starting from TiDB v8.5.6) | Does not support [binlog transaction compression (`Transaction_payload_event`)](https://dev.mysql.com/doc/refman/8.4/en/binary-log-transaction-compression.html). |
25+
| MySQL 9.x | Not tested | |
26+
| MariaDB < 10.1.2 | Incompatible | Incompatible with binlog of the time type. |
27+
| MariaDB 10.1.2 ~ 10.5.10 | Experimental | |
28+
| MariaDB > 10.5.10 | Not tested | Expected to work in most cases after bypassing the [precheck](/dm/dm-precheck.md). See [MariaDB notes](#mariadb-notes). |
2929

3030
### Foreign key `CASCADE` operations
3131

dm/dm-precheck.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ For the incremental data migration mode (`task-mode: incremental`), in addition
131131
- Check whether binlog is enabled (required by DM).
132132
- Check whether `binlog_format=ROW` is configured (DM only supports the migration of binlog in the ROW format).
133133
- Check whether `binlog_row_image=FULL` is configured (DM only supports `binlog_row_image=FULL`).
134+
- Check whether `binlog_transaction_compression=OFF` is configured (DM does not support transaction compression).
134135
- If `binlog_do_db` or `binlog_ignore_db` is configured, check whether the database tables to be migrated meet the conditions of `binlog_do_db` and `binlog_ignore_db`.
135136

136137
* (Mandatory) Check if the upstream database is in an [Online-DDL](/dm/feature-online-ddl.md) process (in which the `ghost` table is created but the `rename` phase is not executed yet). If the upstream is in the online-DDL process, the precheck returns an error. In this case, wait until the DDL to complete and retry.
@@ -143,21 +144,21 @@ For the full and incremental data migration mode (`task-mode: all`), in addition
143144

144145
Prechecks can find potential risks in your environments. It is not recommended to ignore check items. If your data migration task has special needs, you can use the [`ignore-checking-items` configuration item](/dm/task-configuration-file-full.md#task-configuration-file-template-advanced) to skip some check items.
145146

146-
| Check item | Description |
147-
| :---------- | :------------ |
148-
| `dump_privilege` | Checks the dump privilege of the user in the upstream MySQL instance. |
149-
| `replication_privilege` | Checks the replication privilege of the user in the upstream MySQL instance. |
150-
| `version` | Checks the version of the upstream database. |
151-
| `server_id` | Checks whether server_id is configured in the upstream database. |
152-
| `binlog_enable` | Checks whether binlog is enabled in the upstream database. |
153-
| `table_schema` | Checks the compatibility of the table schemas in the upstream MySQL tables. |
154-
| `schema_of_shard_tables`| Checks the consistency of the table schemas in the upstream MySQL multi-instance shards. |
155-
| `auto_increment_ID` | Checks whether the auto-increment primary key conflicts in the upstream MySQL multi-instance shards. |
156-
|`online_ddl`| Checks whether the upstream is in the process of [online-DDL](/dm/feature-online-ddl.md). |
157-
| `empty_region` | Checks the number of empty Regions in the downstream database for physical import. |
158-
| `region_distribution` | Checks the distribution of Regions in the downstream database for physical import. |
159-
| `downstream_version` | Checks the versions of TiDB, PD, and TiKV in the downstream database. |
160-
| `free_space` | Checks the free space of the downstream database. |
147+
| Check item | Description |
148+
| :-------------------------- | :------------ |
149+
| `dump_privilege` | Checks the dump privilege of the user in the upstream MySQL instance. |
150+
| `replication_privilege` | Checks the replication privilege of the user in the upstream MySQL instance. |
151+
| `version` | Checks the version of the upstream database. |
152+
| `server_id` | Checks whether server_id is configured in the upstream database. |
153+
| `binlog_enable` | Checks whether binlog is enabled in the upstream database. |
154+
| `table_schema` | Checks the compatibility of the table schemas in the upstream MySQL tables. |
155+
| `schema_of_shard_tables` | Checks the consistency of the table schemas in the upstream MySQL multi-instance shards. |
156+
| `auto_increment_ID` | Checks whether the auto-increment primary key conflicts in the upstream MySQL multi-instance shards. |
157+
| `online_ddl` | Checks whether the upstream is in the process of [online-DDL](/dm/feature-online-ddl.md). |
158+
| `empty_region` | Checks the number of empty Regions in the downstream database for physical import. |
159+
| `region_distribution` | Checks the distribution of Regions in the downstream database for physical import. |
160+
| `downstream_version` | Checks the versions of TiDB, PD, and TiKV in the downstream database. |
161+
| `free_space` | Checks the free space of the downstream database. |
161162
| `downstream_mutex_features` | Checks whether the downstream database is running tasks that are incompatible with physical import. |
162163

163164
> **Note:**

explore-htap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ If any issue occurs during using TiDB, refer to the following documents:
108108
- [TiDB cluster troubleshooting guide](/troubleshoot-tidb-cluster.md)
109109
- [Troubleshoot a TiFlash Cluster](/tiflash/troubleshoot-tiflash.md)
110110

111-
You are also welcome to create [GitHub Issues](https://github.com/pingcap/tiflash/issues) or submit your questions on [AskTUG](https://asktug.com/).
111+
You are also welcome to create [GitHub Issues](https://github.com/pingcap/tiflash/issues) or ask the community on [Discord](https://discord.gg/DQZ2dy3cuc?utm_source=doc) or [Slack](https://slack.tidb.io/invite?team=tidb-community&channel=everyone&ref=pingcap-docs).
112112

113113
## What's next
114114

faq/manage-cluster-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ You can scale TiDB as your business grows.
109109

110110
### If Percolator uses distributed locks and the crash client keeps the lock, will the lock not be released?
111111

112-
For more details, see [Percolator and TiDB Transaction Algorithm](https://tidb.net/blog/f537be2c) in Chinese.
112+
For more details, see [Percolator and TiDB Transaction Algorithm](https://pingkai.cn/tidbcommunity/blog/f537be2c) in Chinese.
113113

114114
### Why does TiDB use gRPC instead of Thrift? Is it because Google uses it?
115115

mysql-schema/mysql-schema.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ These system tables contain grant information about user accounts and their priv
3333
* `tidb_server_version`: the version information of TiDB when it is initialized. Note that this value is read-only and cannot be modified.
3434
* `system_tz`: the system time zone of TiDB.
3535
* `new_collation_enabled`: whether TiDB has enabled the [new framework for collations](/character-set-and-collation.md#new-framework-for-collations). Note that this value is read-only and cannot be modified.
36+
* `cluster_id` (New in v8.5.6): the unique identifier of the TiDB cluster. Note that this value is read-only and cannot be modified.
3637

3738
## Server-side help system tables
3839

0 commit comments

Comments
 (0)