Skip to content

Commit cda19ce

Browse files
committed
Merge branch 'release-7.5' into patch-7
2 parents 58613ad + 106fca2 commit cda19ce

6 files changed

+93
-5
lines changed

TOC-tidb-cloud.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,8 @@
666666
- [2021](/tidb-cloud/release-notes-2021.md)
667667
- [2020](/tidb-cloud/release-notes-2020.md)
668668
- Maintenance Notification
669+
- [[2024-04-18] TiDB Cloud Data Migration (DM) Feature Maintenance Notification](/tidb-cloud/notification-2024-04-18-dm-feature-maintenance.md)
670+
- [[2024-04-11] TiDB Cloud Data Migration (DM) Feature Maintenance Notification](/tidb-cloud/notification-2024-04-11-dm-feature-maintenance.md)
669671
- [[2023-11-14] TiDB Dedicated Scale Feature Maintenance Notification](/tidb-cloud/notification-2023-11-14-scale-feature-maintenance.md)
670672
- [[2023-09-26] TiDB Cloud Console Maintenance Notification](/tidb-cloud/notification-2023-09-26-console-maintenance.md)
671673
- [[2023-08-31] TiDB Cloud Console Maintenance Notification](/tidb-cloud/notification-2023-08-31-console-maintenance.md)

sql-prepared-plan-cache.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ summary: Learn about SQL Prepared Execution Plan Cache in TiDB.
55

66
# SQL Prepared Execution Plan Cache
77

8+
> **Warning:**
9+
>
10+
> If a cached `UPDATE` or `DELETE` statement encounters a DDL operation that modifies the relevant schema during execution, it might cause data inconsistency between tables and indexes. For more information, see [Issue #51407](https://github.com/pingcap/tidb/issues/51407). It is recommended to monitor the status of this issue and upgrade to [the latest LTS version](https://docs.pingcap.com/tidb/stable) to resolve this issue. Before upgrading, you can try the following workarounds:
11+
>
12+
> - Before executing DDL, temporarily [disable the prepared plan cache](/system-variables.md#tidb_enable_prepared_plan_cache-new-in-v610), and re-enable it after the DDL is complete.
13+
> - Avoid executing DDL during business peak hours. After executing DDL, immediately run [`ADMIN CHECK TABLE`](/sql-statements/sql-statement-admin-check-table-index.md) to check the consistency between tables and indexes. If errors are found, rebuild the relevant indexes.
14+
815
TiDB supports execution plan caching for `Prepare` and `Execute` queries. This includes both forms of prepared statements:
916

1017
- Using the `COM_STMT_PREPARE` and `COM_STMT_EXECUTE` protocol features.

ticdc/ticdc-open-api-v2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,11 +356,11 @@ The `sink.csv` parameters are described as follows:
356356
| `quote` | `STRING` type. The quotation character used to surround fields in the CSV file. If the value is empty, no quotation is used. The default value is `"`. |
357357
| `binary_encoding_method` | `STRING` type. The encoding method of binary data, which can be `"base64"` or `"hex"`. The default value is `"base64"`. |
358358

359-
`sink.dispatchers`: for the sink of MQ type, you can use this parameter to configure the event dispatcher. The following dispatchers are supported: `default`, `ts`, `rowid`, and `table`. The dispatcher rules are as follows:
359+
`sink.dispatchers`: for the sink of MQ type, you can use this parameter to configure the event dispatcher. The following dispatchers are supported: `default`, `ts`, `index-value`, and `table`. The dispatcher rules are as follows:
360360

361361
- `default`: dispatches events in the `table` mode.
362362
- `ts`: uses the commitTs of the row change to create the hash value and dispatch events.
363-
- `rowid`: uses the name and value of the selected HandleKey column to create the hash value and dispatch events.
363+
- `index-value`: uses the name and value of the selected HandleKey column to create the hash value and dispatch events.
364364
- `table`: uses the schema name of the table and the table name to create the hash value and dispatch events.
365365

366366
`sink.dispatchers` is an array. The parameters are described as follows:

ticdc/ticdc-open-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,17 @@ The configuration parameters of sink are as follows:
148148
{
149149
"dispatchers":[
150150
{"matcher":["test1.*", "test2.*"], "dispatcher":"ts"},
151-
{"matcher":["test3.*", "test4.*"], "dispatcher":"rowid"}
151+
{"matcher":["test3.*", "test4.*"], "dispatcher":"index-value"}
152152
],
153153
"protocal":"canal-json"
154154
}
155155
```
156156

157-
`dispatchers`: For the sink of MQ type, you can use dispatchers to configure the event dispatcher. Four dispatchers are supported: `default`, `ts`, `rowid`, and `table`. The dispatcher rules are as follows:
157+
`dispatchers`: For the sink of MQ type, you can use dispatchers to configure the event dispatcher. Four dispatchers are supported: `default`, `ts`, `index-value`, and `table`. The dispatcher rules are as follows:
158158

159159
- `default`: dispatches events in the `table` mode.
160160
- `ts`: uses the commitTs of the row change to create the hash value and dispatch events.
161-
- `rowid`: uses the name and value of the selected HandleKey column to create the hash value and dispatch events.
161+
- `index-value`: uses the name and value of the selected HandleKey column to create the hash value and dispatch events.
162162
- `table`: uses the schema name of the table and the table name to create the hash value and dispatch events.
163163

164164
`matcher`: The matching syntax of matcher is the same as the filter rule syntax.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: 2024-04-11 TiDB Cloud Data Migration (DM) Feature Maintenance Notification
3+
summary: Learn about the details of TiDB Cloud Data Migration (DM) feature maintenance on April 11, 2024, such as the maintenance window and impact.
4+
---
5+
6+
# [2024-04-11] TiDB Cloud Data Migration (DM) Feature Maintenance Notification
7+
8+
This notification describes the details that you need to know about the maintenance for [Data Migration (DM) feature](/tidb-cloud/migrate-from-mysql-using-data-migration.md) of TiDB Cloud Dedicated on April 11, 2024.
9+
10+
## Maintenance window
11+
12+
- Start time: 2024-04-11 08:00 (UTC+0)
13+
- End time: 2024-04-11 09:00 (UTC+0)
14+
- Duration: 1 hour
15+
16+
## Impact
17+
18+
During the maintenance window, the DM feature for TiDB Dedicated clusters in the following regions will be affected:
19+
20+
- Cloud provider: AWS, region: Oregon (us-west-2)
21+
- Cloud provider: AWS, region: N. Virginia (us-east-1)
22+
- Cloud provider: AWS, region: Singapore (ap-southeast-1)
23+
- Cloud provider: AWS, region: Seoul (ap-northeast-2)
24+
- Cloud provider: AWS, region: Frankfurt (eu-central-1)
25+
- Cloud provider: AWS, region: São Paulo (sa-east-1)
26+
- Cloud provider: AWS, region: Oregon (us-west-2)
27+
- Cloud provider: Google Cloud, region: Oregon (us-west1)
28+
- Cloud provider: Google Cloud, region: Tokyo (asia-northeast1)
29+
- Cloud provider: Google Cloud, region: Singapore (asia-southeast1)
30+
31+
The maintenance only affects the DM feature in the TiDB cluster. All the other functionalities remain unaffected. You can continue to manage the TiDB cluster and perform read/write operations or other operations as usual.
32+
33+
For clusters deployed on AWS:
34+
35+
- During the upgrade, the DM tasks can keep running without disruption. The DM console can be used normally.
36+
37+
For clusters deployed on Google Cloud:
38+
39+
- The DM console will be unavailable for up to 30 minutes. During this period, you cannot create or manage DM tasks.
40+
- If a DM task is in the incremental migration stage, it will be interrupted for up to 30 minutes. During this period, do not purge the binary log of the MySQL database. The DM task will automatically resume after the upgrade is completed.
41+
- If a DM task is in the stage of exporting and importing full data, it will fail during the upgrade, and cannot be resumed after the upgrade. It is recommended not to create any DM task on the day when the upgrade is performed, to ensure that no DM tasks are in the stage of exporting and importing full data when the upgrade starts.
42+
43+
## Completion and resumption
44+
45+
Once the maintenance is successfully completed, the affected functionalities will be reinstated, offering you a better experience.
46+
47+
## Get support
48+
49+
If you have any questions or need assistance, contact our [support team](/tidb-cloud/tidb-cloud-support.md). We are here to address your concerns and provide any necessary guidance.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: 2024-04-18 TiDB Cloud Data Migration (DM) Feature Maintenance Notification
3+
summary: Learn about the details of TiDB Cloud Data Migration (DM) feature maintenance on April 18, 2024, such as the maintenance window and impact.
4+
---
5+
6+
# [2024-04-18] TiDB Cloud Data Migration (DM) Feature Maintenance Notification
7+
8+
This notification describes the details that you need to know about the maintenance for [Data Migration (DM) feature](/tidb-cloud/migrate-from-mysql-using-data-migration.md) of TiDB Cloud Dedicated on April 18, 2024.
9+
10+
## Maintenance window
11+
12+
- Start time: 2024-04-18 08:00 (UTC+0)
13+
- End time: 2024-04-18 09:00 (UTC+0)
14+
- Duration: 1 hour
15+
16+
## Impact
17+
18+
During the maintenance window, the DM feature for TiDB Dedicated clusters in the following region will be upgraded:
19+
20+
- Cloud provider: AWS, region: Tokyo (ap-northeast-1)
21+
22+
During the upgrade, you can use the functionalities of TiDB clusters and the DM console normally. The DM tasks can keep running without disruption.
23+
24+
## Completion and resumption
25+
26+
Once the maintenance is successfully completed, the affected functionalities will be reinstated, offering you a better experience.
27+
28+
## Get support
29+
30+
If you have any questions or need assistance, contact our [support team](/tidb-cloud/tidb-cloud-support.md). We are here to address your concerns and provide any necessary guidance.

0 commit comments

Comments
 (0)