Upgrades the minor version of an ApsaraDB Tair (Redis® OSS-Compatible) database instance.
Operation description
The upgrade process varies based on the architecture. For more information, see Minor version upgrade principles.
Before calling this operation, you can call DescribeEngineVersion to query the current minor version of the instance.
During the instance switchover or primary/secondary switchover phase, the instance remains in a read-only state for up to 60 seconds while waiting for data to be fully synchronized. Transient disconnections that last for a few seconds may also occur. Perform the upgrade during off-peak hours and ensure that your applications are configured with a reconnection mechanism.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:ModifyInstanceMinorVersion |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
r-bp1zxszhcgatnx**** |
| Minorversion |
string |
No |
The minor version to which you want to upgrade. Default value: latest_version, which indicates the latest version. |
latest_version |
| EffectiveTime |
string |
No |
The time when the upgrade is performed. Valid values:
Note
You can call ModifyInstanceMaintainTime to modify the maintenance window of the instance. Valid values:
|
Immediately |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
28761557-0B33-41DF-AEEB-322DFF96**** |
Examples
Success response
JSON format
{
"RequestId": "28761557-0B33-41DF-AEEB-322DFF96****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | NoQuota | Request zone has no quota to sell. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.