This topic describes the different states of a Tair (Redis OSS-compatible) instance to help you manage your instances. When you restart or change the configurations of an instance, the state of the instance changes. This may cause impacts such as transient connections that last for a few seconds.
Instance states
You can use one of the following methods to obtain the state of an instance:
Use the console: You can view the state of an instance on the Instances page of the console.
Call an API operation: You can call the DescribeInstances operation to query the state of an instance.
State in the console | State in an API response | Operation that triggers the state | Description |
Creating | Creating | After you create an instance, the instance enters this state. The instance cannot provide database services until it enters the Running state. | |
Running | Normal | N/A | The instance can provide database services in this state. |
Converting | Transforming | No impact. | |
Changing Configuration | Changing | For more information, see Change the configurations of an instance. | |
The change to instance configurations may cause unstable latency. However, Tair (Redis OSS-compatible) supports scaling without leading to transient connections or the read-only state. We recommend that you perform this operation during off-peak hours and make sure that your application can automatically reconnect to the instance. | |||
Restarting | Rebooting | Transient connections occur on the instance. We recommend that you perform this operation during off-peak hours and make sure that your application can automatically reconnect to the instance. | |
Upgrading Major Version | MajorVersionUpgrading | See the corresponding documentation. | |
Updating Minor Version | MinorVersionUpgrading | ||
Configuring Network | NetworkModifying |
| |
Clients can no longer connect to the instance by using the original endpoints. Update the connection information on the clients at the earliest opportunity. | |||
No impact. | |||
Clients can no longer connect to the instance by using the original public endpoint. Update the connection information on the clients at the earliest opportunity. | |||
After you enable the direct connection mode for an instance, you cannot upgrade the major version of the instance or change the zone to which the instance belongs. If you want to upgrade the major version or change the zone, release the private endpoint first. For more information, see Upgrade the major version, Migrate an instance across zones, and Release a private endpoint for an instance. | |||
Clients can no longer connect to the instance by using the original private endpoint. Update the connection information on the clients at the earliest opportunity. | |||
Configuring SSL | SSLModifying | The instance restarts after you enable Transparent Layer Security (TLS) encryption or update the certificate validity period. Transient connections occur on the instance. We recommend that you perform this operation during off-peak hours and make sure that your application can automatically reconnect to the instance. | |
Modifying TDE | TEDModifying | No impact. | |
Migrating to Another Zone | ZoneMigrating |
| |
Flushing Instance | Flushing | If you choose to delete all data, take note of the following impacts:
| |
Deleting Expired Data | CleaningUpExpiredData | If you choose to delete expired data, take note of the following impacts:
| |
Switching | HASwitching | Manually switch workloads from a master node to a replica node |
|
Disabled | Inactive | N/A | The instance expires and cannot provide database services. If you want to continue using the instance, you must manually renew the instance. For more information, see Renewal. |
Released | N/A | Manually or automatically release an instance that is overdue or expired | The instance is released and cannot provide database services. The instance is not displayed on the Instances page. If you want to continue using the instance, you can find and restore the instance from the recycle bin. For more information, see Manage instances in the recycle bin. |