Upgrades the CDC node version of a PolarDB-X instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:UpgradeCDCVersion |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceName |
string |
No |
The instance ID. > You can call the DescribeDBInstances operation to query the details of all instances in the specified region, including instance IDs. |
pxc-hzrp****3p72fi |
| CdcMinorVersion |
string |
No |
The target version number to which you want to upgrade. |
polarx-cdc-kernel-5.4.19-20240928_17274884 |
| CdcDbVersion |
string |
No |
The target database version to which you want to upgrade. > You can call the DescribeDBClusterVersion operation to query the upgrade instructions for all database versions in the specified region. |
2.343 |
| RegionId |
string |
No |
The region in which the instance resides. > You can call the DescribeRegions operation to query the regions supported by PolarDB-X, including region IDs. |
cn-hangzhou |
| InstanceName |
string |
No |
The instance name. |
pxc-shrvdc****wtf5uk-cdc |
| SwitchMode |
string |
No |
The switch mode. Valid values:
|
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
CB4307F5-3D04-51E8-ABAD-49E0B3F962FC |
| Message |
string |
The response message. |
success |
| Success |
boolean |
Indicates whether the request was successful. |
True |
| Data |
object |
The returned result. |
|
| MinorVersion |
string |
The target version number. |
polardb-2.4.0_5.4.19-20250116_xcluster5.4.20-20241213 |
| TaskList |
array<object> |
The list of upgrade tasks. |
|
|
object |
The list of upgrade tasks. |
||
| DbInstanceName |
string |
The instance ID. |
rm-uf68f345****88zf8 |
| TaskId |
integer |
The target task ID. |
1861190497624654848 |
Examples
Success response
JSON format
{
"RequestId": "CB4307F5-3D04-51E8-ABAD-49E0B3F962FC",
"Message": "success",
"Success": true,
"Data": {
"MinorVersion": "polardb-2.4.0_5.4.19-20250116_xcluster5.4.20-20241213",
"TaskList": [
{
"DbInstanceName": "rm-uf68f345****88zf8",
"TaskId": 1861190497624654800
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.